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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001122/0.001122, allocations: 111 kB / 16.41 MB, free: 6.449 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.001081/0.001081, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 67.89 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9261/0.9284, allocations: 159.1 MB / 1.221 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004867/0.9333, allocations: 2.652 MB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.9357, allocations: 1.309 MB / 1.225 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.9359, allocations: 8 kB / 1.225 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007927/0.9368, allocations: 182.6 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.9373, allocations: 171.2 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.9378, allocations: 163.7 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.9382, allocations: 263.1 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.9386, allocations: 141.5 kB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.9389, allocations: 103.6 kB / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.9392, allocations: 127.5 kB / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.9393, allocations: 16 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.9396, allocations: 147.7 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.9397, allocations: 67.75 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.9398, allocations: 95.53 kB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.9403, allocations: 288.8 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9403, allocations: 0 / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9403, allocations: 0 / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.9403, allocations: 4 kB / 1.226 GB, free: 12.68 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.0009493/0.9412, allocations: 0.4975 MB / 1.227 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9413, allocations: 8.625 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.9419, allocations: 68.67 kB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.9422, allocations: 239.9 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.9423, allocations: 12.66 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.9423, allocations: 12.38 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.9429, allocations: 308.8 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.9429, allocations: 0 / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.9429, allocations: 8 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/0.943, allocations: 28.27 kB / 1.228 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.9435, allocations: 264.5 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.9453, allocations: 1.502 MB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.9458, allocations: 265 kB / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.9461, allocations: 125.6 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.9461, allocations: 0 / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.9461, allocations: 38.5 kB / 1.23 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.9461, allocations: 0 / 1.23 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0007819/0.9469, allocations: 341.3 kB / 1.23 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.947, allocations: 81.11 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.9472, allocations: 179.1 kB / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.9472, allocations: 33.7 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.9473, allocations: 144 kB / 1.23 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.9473, allocations: 51.39 kB / 1.23 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.9474, allocations: 45.7 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9476, allocations: 330.8 kB / 1.231 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.9478, allocations: 104.8 kB / 1.231 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.948, allocations: 170.1 kB / 1.231 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.9485, allocations: 282.6 kB / 1.231 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9485, allocations: 4 kB / 1.231 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005575/0.9491, allocations: 311.7 kB / 1.232 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.9491, allocations: 10.22 kB / 1.232 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9491, allocations: 4 kB / 1.232 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.9492, allocations: 4 kB / 1.232 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.9495, allocations: 55.89 kB / 1.232 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9495, allocations: 4 kB / 1.232 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.9497, allocations: 31.81 kB / 1.232 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.9497, allocations: 11.94 kB / 1.232 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002628/0.95, allocations: 196 kB / 1.232 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002051/0.9502, allocations: 156.4 kB / 1.232 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004075/0.9506, allocations: 255.5 kB / 1.232 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.9506, allocations: 0 / 1.232 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004823/0.9511, allocations: 276.1 kB / 1.233 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.9511, allocations: 8 kB / 1.233 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.9511, allocations: 0 / 1.233 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.491e-06/0.9511, allocations: 4 kB / 1.233 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.9514, allocations: 51.91 kB / 1.233 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.9514, allocations: 8.25 kB / 1.233 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.9516, allocations: 31.81 kB / 1.233 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.9516, allocations: 8 kB / 1.233 GB, free: 5.73 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 0.0001296/0.9517, allocations: 192.1 kB / 1.233 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.9518, allocations: 15.81 kB / 1.233 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.9524, allocations: 270.9 kB / 1.233 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.9524, allocations: 8 kB / 1.233 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9524, allocations: 0 / 1.233 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.9525, allocations: 116.8 kB / 1.233 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.9526, allocations: 7.938 kB / 1.233 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.9528, allocations: 27.95 kB / 1.233 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.9529, allocations: 7.984 kB / 1.233 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006657/0.9535, allocations: 423.9 kB / 1.234 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005619/0.9541, allocations: 496 kB / 1.234 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002253/0.9544, allocations: 107.9 kB / 1.234 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001023/0.9545, allocations: 135.3 kB / 1.234 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of Backend: time 9.92e-07/0.9545, allocations: 0 / 1.234 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.9557, allocations: 438.2 kB / 1.235 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001108/0.9568, allocations: 0.8127 MB / 1.236 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of Templates: time 0.008872/0.9657, allocations: 4.009 MB / 1.24 GB, free: 14.62 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/jenkins1/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