Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.014/0.014, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.002074/0.002075, allocations: 194.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.84 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.115, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004087/1.119, allocations: 2.645 MB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002119/1.122, allocations: 1.309 MB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/1.122, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007069/1.123, allocations: 184.8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004109/1.123, allocations: 179.2 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/1.123, allocations: 159.6 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/1.124, allocations: 263.1 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/1.124, allocations: 145.4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/1.124, allocations: 111.6 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/1.124, allocations: 127.5 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/1.125, allocations: 16 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/1.125, allocations: 151.6 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/1.125, allocations: 63.81 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/1.125, allocations: 91.53 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/1.125, allocations: 291.5 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.125, allocations: 0 / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.445e-06/1.125, allocations: 0 / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.125, allocations: 0 / 1.172 GB, free: 14.12 MB / 0.9044 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.0008558/1.126, allocations: 0.4909 MB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.126, allocations: 12.62 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005303/1.127, allocations: 76.72 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/1.127, allocations: 251.9 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/1.127, allocations: 4.656 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/1.127, allocations: 12.38 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/1.128, allocations: 304.9 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.128, allocations: 4 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/1.128, allocations: 4 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/1.128, allocations: 32.25 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/1.129, allocations: 252.6 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/1.13, allocations: 1.514 MB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/1.131, allocations: 257.1 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/1.131, allocations: 125.6 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/1.131, allocations: 8 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/1.131, allocations: 34.5 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/1.131, allocations: 0 / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.00074/1.132, allocations: 347.5 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.132, allocations: 81.23 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/1.132, allocations: 175.8 kB / 1.176 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/1.132, allocations: 29.7 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/1.132, allocations: 144.2 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/1.132, allocations: 55.53 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/1.132, allocations: 45.66 kB / 1.176 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.132, allocations: 330.8 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/1.133, allocations: 108.8 kB / 1.177 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/1.133, allocations: 165.7 kB / 1.177 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/1.133, allocations: 285.2 kB / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.133, allocations: 0 / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005436/1.134, allocations: 313.2 kB / 1.177 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.134, allocations: 8 kB / 1.177 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.134, allocations: 0 / 1.177 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.134, allocations: 4 kB / 1.177 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/1.134, allocations: 59.89 kB / 1.177 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.134, allocations: 224 / 1.177 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/1.135, allocations: 35.86 kB / 1.178 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/1.135, allocations: 8 kB / 1.178 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002509/1.135, allocations: 199.9 kB / 1.178 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002359/1.135, allocations: 152.5 kB / 1.178 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003827/1.135, allocations: 253.9 kB / 1.178 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/1.135, allocations: 0 / 1.178 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004911/1.136, allocations: 277.5 kB / 1.178 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.136, allocations: 8 kB / 1.178 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.136, allocations: 4 kB / 1.178 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/1.136, allocations: 0 / 1.178 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/1.136, allocations: 59.89 kB / 1.178 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.136, allocations: 7.938 kB / 1.178 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.136, allocations: 27.88 kB / 1.178 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/1.136, allocations: 4 kB / 1.178 GB, free: 7.168 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/1.137, allocations: 192.2 kB / 1.179 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/1.137, allocations: 19.89 kB / 1.179 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/1.137, allocations: 274.9 kB / 1.179 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.137, allocations: 0 / 1.179 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.137, allocations: 4 kB / 1.179 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.137, allocations: 7.984 kB / 1.179 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/1.138, allocations: 0.6849 MB / 1.18 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.138, allocations: 0 / 1.18 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/1.139, allocations: 47.89 kB / 1.18 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/1.139, allocations: 4 kB / 1.18 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/1.139, allocations: 3.938 kB / 1.18 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.139, allocations: 11.92 kB / 1.18 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.139, allocations: 128 / 1.18 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/1.139, allocations: 450.9 kB / 1.18 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.139, allocations: 112.9 kB / 1.18 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/1.139, allocations: 7.938 kB / 1.18 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/1.14, allocations: 19.97 kB / 1.18 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/1.14, allocations: 15.92 kB / 1.18 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.14, allocations: 8 kB / 1.18 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001026/1.14, allocations: 135.7 kB / 1.18 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.14, allocations: 0 / 1.18 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004846/1.14, allocations: 83.89 kB / 1.18 GB, free: 4.98 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/1.14, allocations: 99.78 kB / 1.181 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007362/1.141, allocations: 379.2 kB / 1.181 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.141, allocations: 4.188 kB / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/1.141, allocations: 115.8 kB / 1.181 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/1.142, allocations: 51.83 kB / 1.181 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007483/1.143, allocations: 450.1 kB / 1.182 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/1.143, allocations: 0.7402 MB / 1.182 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002035/1.143, allocations: 73.47 kB / 1.182 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/1.143, allocations: 23.44 kB / 1.182 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/1.143, allocations: 4 kB / 1.182 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of Templates: time 0.005308/1.149, allocations: 2.341 MB / 1.185 GB, free: 0.6641 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches