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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001331, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 11.98 kB / 0.8708 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8464/0.8467, allocations: 153.6 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00324/0.85, allocations: 2.232 MB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.852, allocations: 1.212 MB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.8521, allocations: 7.938 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.8523, allocations: 15.86 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.8527, allocations: 111.6 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.853, allocations: 146.5 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.8533, allocations: 151.7 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005977/0.8539, allocations: 290 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.8541, allocations: 71.75 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.8543, allocations: 91.67 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.8544, allocations: 8 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.8545, allocations: 63.89 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.8546, allocations: 55.86 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.8547, allocations: 57.58 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.855, allocations: 213.4 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.855, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.855, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.855, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.7794 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.0008016/0.8558, allocations: 469.1 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8558, allocations: 15.98 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.8564, allocations: 67.64 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.8567, allocations: 244.1 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.8567, allocations: 12.23 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.8567, allocations: 23.92 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.8573, allocations: 304.6 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.8574, allocations: 3.938 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.8574, allocations: 8 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.8575, allocations: 28.27 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.858, allocations: 268.5 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.8597, allocations: 1.506 MB / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.8603, allocations: 265 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.8603, allocations: 3.984 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.8603, allocations: 42.5 kB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.8603, allocations: 0 / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0008526/0.8612, allocations: 357.6 kB / 1.029 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.8613, allocations: 81.11 kB / 1.029 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.8615, allocations: 166.7 kB / 1.029 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.8615, allocations: 33.7 kB / 1.029 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.8616, allocations: 144 kB / 1.029 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-05/0.8617, allocations: 55.23 kB / 1.029 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.8617, allocations: 4 kB / 1.029 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8619, allocations: 326.8 kB / 1.03 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.8621, allocations: 107.9 kB / 1.03 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.8624, allocations: 167.7 kB / 1.03 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.8627, allocations: 127.9 kB / 1.03 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.8627, allocations: 0 / 1.03 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005537/0.8632, allocations: 319.8 kB / 1.03 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003226/0.8636, allocations: 0.7032 MB / 1.031 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.8636, allocations: 0 / 1.031 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8636, allocations: 4 kB / 1.031 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.8639, allocations: 59.84 kB / 1.031 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8639, allocations: 4 kB / 1.031 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.8641, allocations: 35.81 kB / 1.031 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.8642, allocations: 8 kB / 1.031 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.8642, allocations: 4 kB / 1.031 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004593/0.8646, allocations: 247.6 kB / 1.031 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8647, allocations: 0 / 1.031 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.8647, allocations: 8.156 kB / 1.031 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.8649, allocations: 59.91 kB / 1.031 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.8649, allocations: 4 kB / 1.031 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.8651, allocations: 31.81 kB / 1.031 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.8651, allocations: 8 kB / 1.031 GB, free: 5.648 MB / 0.7794 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 () * Number of clocked 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.0001775/0.8653, allocations: 217 kB / 1.032 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.8653, allocations: 15.81 kB / 1.032 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/0.8659, allocations: 289.3 kB / 1.032 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8659, allocations: 4 kB / 1.032 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8659, allocations: 0 / 1.032 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8659, allocations: 0 / 1.032 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.8671, allocations: 0.6966 MB / 1.033 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8671, allocations: 4.125 kB / 1.033 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.8673, allocations: 47.95 kB / 1.033 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.8673, allocations: 4 kB / 1.033 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.8674, allocations: 4 kB / 1.033 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8674, allocations: 3.938 kB / 1.033 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8674, allocations: 11.88 kB / 1.033 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.868, allocations: 0.5063 MB / 1.033 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.8682, allocations: 116.8 kB / 1.033 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.8682, allocations: 8 kB / 1.033 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.8685, allocations: 19.97 kB / 1.033 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.8686, allocations: 19.92 kB / 1.033 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.8686, allocations: 4 kB / 1.033 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001157/0.8687, allocations: 135.2 kB / 1.034 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8688, allocations: 0 / 1.034 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005881/0.8694, allocations: 83.84 kB / 1.034 GB, free: 3.316 MB / 0.7794 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 () * Number of clocked 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.0001557/0.8695, allocations: 95.25 kB / 1.034 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007445/0.8703, allocations: 392.2 kB / 1.034 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8703, allocations: 0 / 1.034 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.8705, allocations: 120 kB / 1.034 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.8709, allocations: 35.72 kB / 1.034 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/0.8718, allocations: 0.494 MB / 1.035 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.8722, allocations: 0.7479 MB / 1.035 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.8724, allocations: 73.47 kB / 1.036 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.8725, allocations: 27.44 kB / 1.036 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.8725, allocations: 0 / 1.036 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of Templates: time 0.005203/0.8777, allocations: 2.079 MB / 1.038 GB, free: 15.2 MB / 0.795 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