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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004517/0.004517, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001048/0.001048, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.559/2.559, allocations: 472.7 MB / 0.7453 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8326, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003772/0.8364, allocations: 2.657 MB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.8384, allocations: 1.309 MB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.8385, allocations: 11.94 kB / 1.23 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.8392, allocations: 179.2 kB / 1.23 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.8395, allocations: 163.3 kB / 1.23 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.8399, allocations: 166.4 kB / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.8402, allocations: 263.1 kB / 1.23 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.8405, allocations: 141.5 kB / 1.23 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.8407, allocations: 103.7 kB / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.841, allocations: 127.5 kB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.841, allocations: 12 kB / 1.231 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.8412, allocations: 155.6 kB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.8413, allocations: 59.81 kB / 1.231 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.8414, allocations: 95.53 kB / 1.231 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.8418, allocations: 295.4 kB / 1.231 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8418, allocations: 0 / 1.231 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8418, allocations: 0 / 1.231 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.8418, allocations: 0 / 1.231 GB, free: 7.801 MB / 0.9512 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.0007413/0.8426, allocations: 0.4909 MB / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.8426, allocations: 8.031 kB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.8431, allocations: 68.72 kB / 1.232 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.8434, allocations: 248 kB / 1.232 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.8434, allocations: 12.66 kB / 1.232 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.8435, allocations: 16.38 kB / 1.232 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.8439, allocations: 305.4 kB / 1.232 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.844, allocations: 0 / 1.232 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.844, allocations: 8 kB / 1.232 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/0.844, allocations: 36.23 kB / 1.232 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.8445, allocations: 260.5 kB / 1.233 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.846, allocations: 1.502 MB / 1.234 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.8464, allocations: 257 kB / 1.234 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.8467, allocations: 129.6 kB / 1.234 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.8467, allocations: 0 / 1.234 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.8467, allocations: 38.5 kB / 1.234 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.8467, allocations: 0 / 1.234 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0007347/0.8475, allocations: 345.3 kB / 1.235 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.8475, allocations: 81.11 kB / 1.235 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.8477, allocations: 175.2 kB / 1.235 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.8477, allocations: 25.7 kB / 1.235 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.8478, allocations: 152.2 kB / 1.235 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.8478, allocations: 55.48 kB / 1.235 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.8479, allocations: 49.83 kB / 1.235 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.848, allocations: 330.8 kB / 1.236 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.8482, allocations: 108.7 kB / 1.236 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.8485, allocations: 169.3 kB / 1.236 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.8489, allocations: 276.8 kB / 1.236 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8489, allocations: 0 / 1.236 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005352/0.8495, allocations: 309.3 kB / 1.236 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.8495, allocations: 5.312 kB / 1.236 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8495, allocations: 8 kB / 1.236 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8495, allocations: 0 / 1.236 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.8498, allocations: 59.89 kB / 1.237 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.8498, allocations: 4 kB / 1.237 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.85, allocations: 31.8 kB / 1.237 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.8501, allocations: 12 kB / 1.237 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002428/0.8503, allocations: 195.9 kB / 1.237 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002093/0.8505, allocations: 160.4 kB / 1.237 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003872/0.8509, allocations: 250.5 kB / 1.237 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.8509, allocations: 4 kB / 1.237 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004667/0.8514, allocations: 277.2 kB / 1.237 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.8514, allocations: 8 kB / 1.237 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-06/0.8514, allocations: 0 / 1.237 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.8514, allocations: 8 kB / 1.237 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.8516, allocations: 55.89 kB / 1.237 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.8517, allocations: 4 kB / 1.237 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.8518, allocations: 28.12 kB / 1.238 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.8518, allocations: 12 kB / 1.238 GB, free: 0.8398 MB / 0.9512 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 9.924e-05/0.852, allocations: 192.1 kB / 1.238 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.852, allocations: 19.89 kB / 1.238 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.8525, allocations: 263 kB / 1.238 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.8525, allocations: 4 kB / 1.238 GB, free: 360 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8526, allocations: 4 kB / 1.238 GB, free: 356 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8526, allocations: 3.984 kB / 1.238 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009553/0.8535, allocations: 0.6848 MB / 1.239 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8535, allocations: 0 / 1.239 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.8538, allocations: 56.02 kB / 1.239 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.8538, allocations: 0 / 1.239 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.8538, allocations: 7.938 kB / 1.239 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8538, allocations: 3.984 kB / 1.239 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8538, allocations: 4 kB / 1.239 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.8543, allocations: 448.2 kB / 1.239 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.8544, allocations: 116.9 kB / 1.239 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.8545, allocations: 7.922 kB / 1.239 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.8547, allocations: 23.97 kB / 1.239 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.8547, allocations: 11.98 kB / 1.239 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.8547, allocations: 12 kB / 1.239 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001111/0.8549, allocations: 131.2 kB / 1.239 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8549, allocations: 0 / 1.239 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004468/0.8553, allocations: 79.89 kB / 1.24 GB, free: 14.66 MB / 0.9669 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.0001201/0.8555, allocations: 111.1 kB / 1.24 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.8561, allocations: 379.6 kB / 1.24 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8561, allocations: 0 / 1.24 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.8564, allocations: 115.8 kB / 1.24 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.8568, allocations: 44.33 kB / 1.24 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.8575, allocations: 449.9 kB / 1.241 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.8578, allocations: 0.7441 MB / 1.241 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.858, allocations: 73.47 kB / 1.241 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/0.8581, allocations: 19.44 kB / 1.241 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of SimCode: time 1.533e-06/0.8581, allocations: 0 / 1.241 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.005016/0.8631, allocations: 2.349 MB / 1.244 GB, free: 10.34 MB / 0.9669 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches