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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001092/0.001092, allocations: 109.8 kB / 16.41 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.001325/0.001325, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 60.12 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.895/0.8963, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004559/0.9009, allocations: 3.083 MB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.9031, allocations: 1.317 MB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.9032, allocations: 7.938 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.9043, allocations: 342.7 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.9047, allocations: 143.3 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.9051, allocations: 135.6 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.9054, allocations: 303 kB / 1.214 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.9058, allocations: 236.3 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.9059, allocations: 127.5 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.9062, allocations: 139.4 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.9063, allocations: 23.94 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.9066, allocations: 171.6 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.9067, allocations: 75.81 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.9068, allocations: 107.5 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.9072, allocations: 340.6 kB / 1.215 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9072, allocations: 0 / 1.215 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9072, allocations: 0 / 1.215 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9072, allocations: 0 / 1.215 GB, free: 7.121 MB / 0.9356 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.0007668/0.908, allocations: 0.5186 MB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.908, allocations: 8.031 kB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005806/0.9086, allocations: 84.58 kB / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.9089, allocations: 244 kB / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.9089, allocations: 12.75 kB / 1.216 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.909, allocations: 20.36 kB / 1.216 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.9094, allocations: 299.3 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9094, allocations: 4 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.9095, allocations: 4 kB / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/0.9095, allocations: 20.36 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.9098, allocations: 192.9 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.9112, allocations: 1.468 MB / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.9115, allocations: 171.7 kB / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.9116, allocations: 36.78 kB / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.9116, allocations: 0 / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.9116, allocations: 34.56 kB / 1.218 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.9116, allocations: 4 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000471/0.9121, allocations: 223.4 kB / 1.218 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.9121, allocations: 55.41 kB / 1.218 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.9123, allocations: 198.2 kB / 1.218 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.9124, allocations: 29.7 kB / 1.218 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.9125, allocations: 163.8 kB / 1.218 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.9125, allocations: 27.64 kB / 1.218 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.9126, allocations: 41.7 kB / 1.218 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9127, allocations: 326.8 kB / 1.219 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.9128, allocations: 35.98 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.9128, allocations: 98.38 kB / 1.219 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.913, allocations: 148.4 kB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.913, allocations: 0 / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003116/0.9133, allocations: 190.1 kB / 1.219 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.9134, allocations: 7.984 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.9134, allocations: 8.281 kB / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.9136, allocations: 24.84 kB / 1.219 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.9137, allocations: 27.94 kB / 1.219 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.9147, allocations: 1.422 MB / 1.221 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.9149, allocations: 15.78 kB / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.9149, allocations: 8 kB / 1.221 GB, free: 412 kB / 0.9356 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.0001298/0.915, allocations: 153.8 kB / 1.221 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.9151, allocations: 19.84 kB / 1.221 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.9151, allocations: 21.39 kB / 1.221 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.9151, allocations: 0 / 1.221 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9151, allocations: 64 / 1.221 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.9152, allocations: 100.9 kB / 1.221 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.9152, allocations: 4 kB / 1.221 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.9153, allocations: 0 / 1.221 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.9154, allocations: 11.92 kB / 1.221 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002747/0.9157, allocations: 185.8 kB / 1.221 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002214/0.9159, allocations: 290.5 kB / 1.221 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.918e-05/0.916, allocations: 24.02 kB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001203/0.9161, allocations: 152.8 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of Backend: time 3.2e-07/0.9161, allocations: 0 / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000913/0.917, allocations: 362.5 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001216/0.9183, allocations: 0.8407 MB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of Templates: time 0.00675/0.925, allocations: 2.612 MB / 1.225 GB, free: 11.56 MB / 0.9512 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