Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 117.5 kB / 16.42 MB, free: 6.492 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.002092/0.002092, allocations: 183.9 kB / 17.35 MB, free: 5.746 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.757/2.757, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 60.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.969/0.9704, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005398/0.9759, allocations: 3.079 MB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.9783, allocations: 1.328 MB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.9785, allocations: 4 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.9795, allocations: 338.7 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.9799, allocations: 143.3 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.9803, allocations: 131.6 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.9807, allocations: 306.9 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.9812, allocations: 240.3 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.9814, allocations: 127.6 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.9817, allocations: 139.5 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.9817, allocations: 23.94 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.982, allocations: 163.6 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/0.9821, allocations: 75.8 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.9823, allocations: 111.5 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.9827, allocations: 339.3 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9827, allocations: 0 / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9828, allocations: 0 / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.9828, allocations: 0 / 1.174 GB, free: 13.37 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008547/0.9836, allocations: 0.5298 MB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9837, allocations: 8.922 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.9843, allocations: 80.72 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.9846, allocations: 246.2 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.9846, allocations: 16.75 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.9847, allocations: 20.36 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.9851, allocations: 295.5 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.9852, allocations: 3.938 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.9852, allocations: 12 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.9852, allocations: 20.38 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.9856, allocations: 196.9 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.9871, allocations: 1.456 MB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.9874, allocations: 171.7 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.9875, allocations: 36.84 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.9875, allocations: 4 kB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.9875, allocations: 38.5 kB / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.9875, allocations: 0 / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004915/0.988, allocations: 223.5 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.9881, allocations: 55.41 kB / 1.177 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.9883, allocations: 203.8 kB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.9883, allocations: 29.7 kB / 1.177 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.9884, allocations: 172.1 kB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.9885, allocations: 35.67 kB / 1.177 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.9885, allocations: 29.72 kB / 1.177 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9887, allocations: 334.7 kB / 1.178 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.9888, allocations: 35.97 kB / 1.178 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.989, allocations: 99.08 kB / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.9892, allocations: 148.4 kB / 1.178 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9892, allocations: 0 / 1.178 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003039/0.9895, allocations: 194.3 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9895, allocations: 4 kB / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.9895, allocations: 4 kB / 1.178 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.9897, allocations: 28.78 kB / 1.178 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.9898, allocations: 27.98 kB / 1.178 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.9909, allocations: 1.418 MB / 1.18 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.991, allocations: 19.84 kB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.9911, allocations: 12.16 kB / 1.18 GB, free: 6.621 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.9912, allocations: 154.2 kB / 1.18 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.9912, allocations: 15.89 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.9913, allocations: 17.41 kB / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9913, allocations: 0 / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9913, allocations: 0 / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.9914, allocations: 93 kB / 1.18 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.9914, allocations: 8 kB / 1.18 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.9915, allocations: 7.984 kB / 1.18 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.9915, allocations: 4 kB / 1.18 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002342/0.9918, allocations: 197.6 kB / 1.18 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002435/0.992, allocations: 294.8 kB / 1.18 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.29e-05/0.9921, allocations: 32.06 kB / 1.18 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001124/0.9922, allocations: 143.2 kB / 1.181 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of Backend: time 3.61e-07/0.9922, allocations: 0 / 1.181 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008136/0.993, allocations: 360.6 kB / 1.181 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008807/0.9939, allocations: 0.8375 MB / 1.182 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of Templates: time 0.005819/0.9997, allocations: 2.577 MB / 1.184 GB, free: 1.801 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches