Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 109.2 kB / 16.42 MB, free: 6.488 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.001416/0.001417, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8319, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004114/0.8361, allocations: 3.075 MB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.8387, allocations: 1.907 MB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.8388, allocations: 12.25 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.8397, allocations: 275.5 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.8401, allocations: 198.1 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.8407, allocations: 241.4 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.8411, allocations: 330.4 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.8414, allocations: 174.8 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.8416, allocations: 145.8 kB / 1.095 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.8419, allocations: 148.1 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.8419, allocations: 20.34 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006744/0.8426, allocations: 401.6 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.8427, allocations: 88.5 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.8429, allocations: 124 kB / 1.096 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.8436, allocations: 488.7 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8436, allocations: 0.5 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8436, allocations: 0.5312 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8436, allocations: 0 / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008689/0.8445, allocations: 0.5657 MB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8445, allocations: 9.781 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/0.8454, allocations: 106.2 kB / 1.097 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.8457, allocations: 261.8 kB / 1.097 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.8458, allocations: 24.55 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.8458, allocations: 17.25 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.8464, allocations: 355.4 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.8464, allocations: 4.906 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.8465, allocations: 6.625 kB / 1.097 GB, free: 44 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.8465, allocations: 30.12 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.8471, allocations: 295 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.8494, allocations: 1.726 MB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.8499, allocations: 326.1 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.8501, allocations: 106.4 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.8502, allocations: 93.7 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.8502, allocations: 37.31 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.8502, allocations: 0 / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002723/0.8529, allocations: 0.963 MB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.8531, allocations: 79.86 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.8533, allocations: 215.8 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.8533, allocations: 31.08 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.8535, allocations: 175.3 kB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.8536, allocations: 84.22 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.8537, allocations: 60.28 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.8538, allocations: 330.9 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.854, allocations: 125.8 kB / 1.102 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.8543, allocations: 215.8 kB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.8548, allocations: 365 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8548, allocations: 1.25 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009741/0.8558, allocations: 0.5137 MB / 1.103 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8559, allocations: 7.281 kB / 1.103 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8559, allocations: 5.703 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.8565, allocations: 155 kB / 1.103 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.8568, allocations: 57.05 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.8603, allocations: 4.188 MB / 1.107 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.8605, allocations: 19.78 kB / 1.107 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.8606, allocations: 10.77 kB / 1.107 GB, free: 8.039 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.8608, allocations: 169.2 kB / 1.107 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.8609, allocations: 21.62 kB / 1.107 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/0.8618, allocations: 470.1 kB / 1.108 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.8619, allocations: 1.406 kB / 1.108 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8619, allocations: 9.406 kB / 1.108 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.862, allocations: 133.5 kB / 1.108 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.8621, allocations: 6.141 kB / 1.108 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.8623, allocations: 17.36 kB / 1.108 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.8623, allocations: 18.42 kB / 1.108 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001061/0.8634, allocations: 0.6215 MB / 1.109 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007824/0.8642, allocations: 0.7354 MB / 1.109 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001983/0.8644, allocations: 139.9 kB / 1.109 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001382/0.8645, allocations: 155.9 kB / 1.11 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of Backend: time 5.01e-07/0.8646, allocations: 0 / 1.11 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.8663, allocations: 0.7354 MB / 1.11 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001168/0.8675, allocations: 1.002 MB / 1.111 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of Templates: time 0.01156/0.8791, allocations: 5.685 MB / 1.117 GB, free: 4.828 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches