Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_9_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_9_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.0014/0.0014, allocations: 109.8 kB / 16.42 MB, free: 6.496 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.001485/0.001485, allocations: 188.3 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.22/2.22, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002304, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.849/0.8513, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004251/0.8556, allocations: 3.078 MB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.8576, allocations: 1.33 MB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.8578, allocations: 8.688 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009725/0.8587, allocations: 325 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.8591, allocations: 146.9 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.8594, allocations: 135.8 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.8598, allocations: 309.5 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.8602, allocations: 233.3 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.8604, allocations: 130.2 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.8607, allocations: 138.5 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.8607, allocations: 22.09 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.861, allocations: 173.6 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.8612, allocations: 77.86 kB / 1.095 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.8613, allocations: 110.8 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.8618, allocations: 335.5 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8618, allocations: 0 / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.614e-06/0.8618, allocations: 0.8438 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8618, allocations: 0 / 1.095 GB, free: 1.559 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008015/0.8626, allocations: 0.5179 MB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.8626, allocations: 9.188 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006115/0.8633, allocations: 79.09 kB / 1.096 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.8636, allocations: 242.4 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.8636, allocations: 12.62 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.8636, allocations: 20.38 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.8642, allocations: 306.8 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.8642, allocations: 0 / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.8643, allocations: 11.36 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.8643, allocations: 19.92 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.8647, allocations: 193.8 kB / 1.096 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.8663, allocations: 1.46 MB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.8666, allocations: 177.7 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.8667, allocations: 31.33 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.8667, allocations: 0.8125 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.53e-05/0.8668, allocations: 40.98 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.8668, allocations: 0 / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0005053/0.8673, allocations: 223.2 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.8673, allocations: 53.33 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.8676, allocations: 193.1 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.8676, allocations: 27.56 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.8678, allocations: 165.5 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.8678, allocations: 30.66 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.8679, allocations: 39.64 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.868, allocations: 326.4 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.8681, allocations: 35.77 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.8683, allocations: 100.9 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.8685, allocations: 152.8 kB / 1.099 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8685, allocations: 0 / 1.099 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003661/0.8689, allocations: 191.9 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8689, allocations: 6.875 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8689, allocations: 5.875 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.8691, allocations: 26.27 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.8692, allocations: 28.7 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.8704, allocations: 1.419 MB / 1.101 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.8706, allocations: 17.97 kB / 1.101 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.8706, allocations: 11.48 kB / 1.101 GB, free: 12.34 MB / 0.8731 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.0001354/0.8707, allocations: 142.4 kB / 1.101 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.8708, allocations: 18.69 kB / 1.101 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.8708, allocations: 20.3 kB / 1.101 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8708, allocations: 0.7031 kB / 1.101 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8708, allocations: 7.875 kB / 1.101 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.8709, allocations: 98.73 kB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.8709, allocations: 1.875 kB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.8711, allocations: 4.047 kB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.8711, allocations: 5.484 kB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003213/0.8714, allocations: 193.2 kB / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002564/0.8717, allocations: 295.2 kB / 1.102 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.172e-05/0.8717, allocations: 23.91 kB / 1.102 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001441/0.8719, allocations: 146.6 kB / 1.102 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of Backend: time 2.51e-07/0.8719, allocations: 4.062 kB / 1.102 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009589/0.8729, allocations: 368.3 kB / 1.102 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001045/0.8739, allocations: 0.8296 MB / 1.103 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.007566/0.8815, allocations: 2.569 MB / 1.106 GB, free: 10.39 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches