Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.221/2.221, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 179.8 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009558/0.0009558, allocations: 107.8 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.004e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3202, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.423, allocations: 165.6 MB / 1.374 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.423, allocations: 92.94 kB / 1.374 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03201/1.455, allocations: 14.66 MB / 1.388 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.723e-06/1.456, allocations: 3.844 kB / 1.388 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.48e-05/1.456, allocations: 7.781 kB / 1.388 GB, free: 29.59 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006408/1.456, allocations: 480 kB / 1.389 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.456, allocations: 7.594 kB / 1.389 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006242/1.457, allocations: 84.62 kB / 1.389 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/1.457, allocations: 236.2 kB / 1.389 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/1.457, allocations: 7.438 kB / 1.389 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/1.457, allocations: 7.688 kB / 1.389 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003131/1.458, allocations: 176.6 kB / 1.389 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/1.458, allocations: 263.5 kB / 1.39 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.458, allocations: 3.844 kB / 1.39 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/1.458, allocations: 3.938 kB / 1.39 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/1.458, allocations: 22.89 kB / 1.39 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/1.459, allocations: 1.458 MB / 1.391 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/1.46, allocations: 234.9 kB / 1.391 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/1.46, allocations: 111.6 kB / 1.391 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/1.46, allocations: 4 kB / 1.391 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.46, allocations: 41.22 kB / 1.391 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/1.46, allocations: 0 / 1.391 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0004098/1.46, allocations: 217.7 kB / 1.392 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/1.46, allocations: 77.11 kB / 1.392 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/1.461, allocations: 149.2 kB / 1.392 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.461, allocations: 25.73 kB / 1.392 GB, free: 27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/1.461, allocations: 145.8 kB / 1.392 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/1.461, allocations: 46.8 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/1.461, allocations: 0 / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.461, allocations: 333.6 kB / 1.392 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/1.461, allocations: 86.52 kB / 1.393 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/1.461, allocations: 150.7 kB / 1.393 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/1.461, allocations: 102.2 kB / 1.393 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.461, allocations: 0 / 1.393 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003409/1.462, allocations: 271.2 kB / 1.393 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003405/1.462, allocations: 0.7036 MB / 1.394 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.462, allocations: 4 kB / 1.394 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.462, allocations: 3.844 kB / 1.394 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/1.462, allocations: 61.17 kB / 1.394 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.462, allocations: 3.844 kB / 1.394 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/1.463, allocations: 31.06 kB / 1.394 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.463, allocations: 7.406 kB / 1.394 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/1.463, allocations: 3.875 kB / 1.394 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002572/1.463, allocations: 184.4 kB / 1.394 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/1.463, allocations: 7.781 kB / 1.394 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/1.463, allocations: 3.812 kB / 1.394 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/1.463, allocations: 57.64 kB / 1.394 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/1.463, allocations: 3.875 kB / 1.394 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/1.463, allocations: 23.7 kB / 1.394 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/1.463, allocations: 15.64 kB / 1.394 GB, free: 25.46 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.463, allocations: 112.4 kB / 1.394 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/1.463, allocations: 11.59 kB / 1.394 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/1.464, allocations: 229.9 kB / 1.394 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.464, allocations: 3.875 kB / 1.394 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.464, allocations: 0 / 1.394 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.464, allocations: 0 / 1.394 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/1.465, allocations: 0.6085 MB / 1.395 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.465, allocations: 7.984 kB / 1.395 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/1.465, allocations: 46.62 kB / 1.395 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.465, allocations: 0 / 1.395 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/1.465, allocations: 3.812 kB / 1.395 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.465, allocations: 3.984 kB / 1.395 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.465, allocations: 8 kB / 1.395 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/1.465, allocations: 470.7 kB / 1.396 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/1.465, allocations: 118.4 kB / 1.396 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/1.465, allocations: 3.844 kB / 1.396 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/1.466, allocations: 22.66 kB / 1.396 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/1.466, allocations: 11.89 kB / 1.396 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.466, allocations: 11.64 kB / 1.396 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.338e-05/1.466, allocations: 125.1 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.466, allocations: 0 / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004549/1.466, allocations: 81.45 kB / 1.396 GB, free: 24.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/1.466, allocations: 110 kB / 1.396 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004284/1.467, allocations: 311.8 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.467, allocations: 4.188 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/1.467, allocations: 99.36 kB / 1.396 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/1.467, allocations: 32.16 kB / 1.396 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/1.468, allocations: 319.7 kB / 1.397 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/1.468, allocations: 0.7487 MB / 1.397 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002091/1.469, allocations: 83.17 kB / 1.398 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/1.469, allocations: 14.94 kB / 1.398 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.469, allocations: 7.938 kB / 1.398 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of Templates: time 0.004922/1.474, allocations: 2.162 MB / 1.4 GB, free: 22.04 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches