Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001464/0.001464, allocations: 114.9 kB / 16.42 MB, free: 6.012 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.00162/0.001621, allocations: 183.2 kB / 17.35 MB, free: 5.629 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.14 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.604/2.604, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006135/1.145, allocations: 3.066 MB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003553/1.149, allocations: 1.917 MB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/1.149, allocations: 4 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/1.15, allocations: 284.6 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000783/1.151, allocations: 195.1 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/1.152, allocations: 251.2 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000541/1.153, allocations: 318.9 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/1.153, allocations: 192.7 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/1.153, allocations: 135.5 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/1.154, allocations: 147.5 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/1.154, allocations: 20 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008042/1.155, allocations: 403.2 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/1.155, allocations: 83.78 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/1.155, allocations: 119.4 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009563/1.156, allocations: 488.5 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.156, allocations: 0 / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.683e-06/1.156, allocations: 4 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.246e-05/1.156, allocations: 0 / 1.175 GB, free: 12.26 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001236/1.157, allocations: 0.5575 MB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.157, allocations: 8.031 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009149/1.158, allocations: 112.5 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/1.159, allocations: 277.5 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/1.159, allocations: 16.8 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/1.159, allocations: 16.38 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/1.16, allocations: 357.4 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.16, allocations: 0 / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/1.16, allocations: 12 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.682e-05/1.16, allocations: 24.42 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/1.16, allocations: 293.5 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/1.163, allocations: 1.725 MB / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/1.163, allocations: 338.1 kB / 1.178 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.163, allocations: 97.67 kB / 1.178 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/1.164, allocations: 93.03 kB / 1.178 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/1.164, allocations: 38.56 kB / 1.179 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/1.164, allocations: 0 / 1.179 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002662/1.166, allocations: 0.9647 MB / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.166, allocations: 81.09 kB / 1.18 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/1.167, allocations: 219.8 kB / 1.18 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/1.167, allocations: 29.8 kB / 1.18 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.167, allocations: 179.9 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/1.167, allocations: 78.84 kB / 1.18 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.167, allocations: 61.69 kB / 1.18 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002056/1.167, allocations: 330.8 kB / 1.18 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/1.168, allocations: 131.9 kB / 1.181 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/1.168, allocations: 211 kB / 1.181 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/1.168, allocations: 367.3 kB / 1.181 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/1.168, allocations: 0 / 1.181 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009311/1.169, allocations: 0.5108 MB / 1.182 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.169, allocations: 8 kB / 1.182 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.169, allocations: 0 / 1.182 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/1.17, allocations: 155.6 kB / 1.182 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/1.17, allocations: 55.91 kB / 1.182 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/1.174, allocations: 4.19 MB / 1.186 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/1.175, allocations: 19.89 kB / 1.186 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/1.175, allocations: 16 kB / 1.186 GB, free: 15.9 MB / 0.92 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.0002769/1.175, allocations: 165.8 kB / 1.186 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/1.175, allocations: 19.81 kB / 1.186 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/1.176, allocations: 478.4 kB / 1.187 GB, free: 15.22 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/1.176, allocations: 11.98 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.176, allocations: 0 / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/1.176, allocations: 128.7 kB / 1.187 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/1.176, allocations: 4 kB / 1.187 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/1.177, allocations: 15.98 kB / 1.187 GB, free: 15.04 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/1.177, allocations: 19.97 kB / 1.187 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001405/1.178, allocations: 0.6264 MB / 1.187 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000942/1.179, allocations: 0.7317 MB / 1.188 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002366/1.179, allocations: 145.9 kB / 1.188 GB, free: 13.49 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001963/1.179, allocations: 152.2 kB / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of Backend: time 1.212e-06/1.18, allocations: 0 / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.182, allocations: 0.7298 MB / 1.189 GB, free: 12.57 MB / 0.92 GB Notification: Performance of SimCode: time 0.001598/1.183, allocations: 1.021 MB / 1.19 GB, free: 11.52 MB / 0.92 GB Notification: Performance of Templates: time 0.01244/1.196, allocations: 5.662 MB / 1.196 GB, free: 5.887 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches