Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_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_latest_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.001667/0.001667, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001769/0.001769, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 472.7 MB / 0.746 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 1.07 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9532/0.9546, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005005/0.9597, allocations: 3.083 MB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.9619, allocations: 1.324 MB / 1.231 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.9621, allocations: 11.94 kB / 1.231 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.9632, allocations: 333.9 kB / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.9636, allocations: 143.3 kB / 1.231 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.964, allocations: 135.6 kB / 1.231 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.9645, allocations: 310.9 kB / 1.232 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004583/0.9649, allocations: 232.7 kB / 1.232 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.9652, allocations: 127.6 kB / 1.232 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.9655, allocations: 147.5 kB / 1.232 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.9656, allocations: 16 kB / 1.232 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.9659, allocations: 167.6 kB / 1.232 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.966, allocations: 75.86 kB / 1.232 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.9661, allocations: 111.5 kB / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.9666, allocations: 339.2 kB / 1.233 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9666, allocations: 4 kB / 1.233 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9666, allocations: 0 / 1.233 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.9666, allocations: 0 / 1.233 GB, free: 7.008 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007999/0.9674, allocations: 0.5182 MB / 1.233 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.9675, allocations: 8.031 kB / 1.233 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005577/0.9681, allocations: 80.72 kB / 1.233 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.9684, allocations: 250 kB / 1.234 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.9684, allocations: 12.75 kB / 1.234 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.9684, allocations: 20.38 kB / 1.234 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.9688, allocations: 299.5 kB / 1.234 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.9689, allocations: 3.938 kB / 1.234 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.9689, allocations: 8 kB / 1.234 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.9689, allocations: 16.36 kB / 1.234 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.9692, allocations: 201 kB / 1.234 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.9706, allocations: 1.456 MB / 1.235 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.9709, allocations: 179.7 kB / 1.236 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.971, allocations: 28.86 kB / 1.236 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.971, allocations: 7.875 kB / 1.236 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.971, allocations: 46.48 kB / 1.236 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.971, allocations: 0 / 1.236 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000464/0.9715, allocations: 223.9 kB / 1.236 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.9715, allocations: 51.41 kB / 1.236 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.9717, allocations: 203.2 kB / 1.236 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.9718, allocations: 29.7 kB / 1.236 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.9719, allocations: 171.9 kB / 1.236 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.9719, allocations: 27.78 kB / 1.236 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.972, allocations: 33.72 kB / 1.236 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9721, allocations: 322.8 kB / 1.237 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.9722, allocations: 39.97 kB / 1.237 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.9723, allocations: 100.6 kB / 1.237 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.9724, allocations: 140.5 kB / 1.237 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9724, allocations: 0 / 1.237 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000295/0.9727, allocations: 190.4 kB / 1.237 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9728, allocations: 13.78 kB / 1.237 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9728, allocations: 0 / 1.237 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.9729, allocations: 32.77 kB / 1.237 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.973, allocations: 24 kB / 1.237 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.9741, allocations: 1.419 MB / 1.239 GB, free: 312 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.9742, allocations: 23.92 kB / 1.239 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.9742, allocations: 12 kB / 1.239 GB, free: 276 kB / 0.9512 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.000123/0.9744, allocations: 149.8 kB / 1.239 GB, free: 116 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.9744, allocations: 19.84 kB / 1.239 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.9744, allocations: 21.48 kB / 1.239 GB, free: 72 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.9744, allocations: 3.938 kB / 1.239 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9745, allocations: 0 / 1.239 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.9745, allocations: 97.05 kB / 1.239 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.9746, allocations: 0 / 1.239 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.9747, allocations: 4 kB / 1.239 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.9747, allocations: 8 kB / 1.239 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002401/0.9749, allocations: 197.6 kB / 1.239 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002169/0.9752, allocations: 290.7 kB / 1.239 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.799e-05/0.9752, allocations: 24.02 kB / 1.239 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001208/0.9754, allocations: 141.6 kB / 1.24 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of Backend: time 1.543e-06/0.9754, allocations: 4.062 kB / 1.24 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007999/0.9762, allocations: 369 kB / 1.24 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0007996/0.977, allocations: 0.8288 MB / 1.241 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.005729/0.9827, allocations: 2.579 MB / 1.243 GB, free: 11.46 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches