Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001277/0.001277, 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.339/1.339, 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 11.0.0-master/package.mo): time 2.53/2.53, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 59.91 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8387/0.8403, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008186/0.8485, allocations: 6.292 MB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006577/0.8551, allocations: 4.541 MB / 1.219 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005844/0.8557, allocations: 23.88 kB / 1.219 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.8582, allocations: 0.9253 MB / 1.22 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.8604, allocations: 0.7613 MB / 1.22 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.8612, allocations: 322.8 kB / 1.221 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.8628, allocations: 1.136 MB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009497/0.8637, allocations: 0.6789 MB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000704/0.8645, allocations: 470.4 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008679/0.8653, allocations: 0.4942 MB / 1.223 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.8655, allocations: 68 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005909/0.8661, allocations: 279.5 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.8663, allocations: 255.1 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004739/0.8668, allocations: 409.9 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.868, allocations: 1.075 MB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.868, allocations: 0 / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.868, allocations: 0 / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.519e-05/0.868, allocations: 0 / 1.225 GB, free: 12.05 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00198/0.87, allocations: 1.098 MB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.8701, allocations: 8.031 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.8732, allocations: 0.628 MB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.8741, allocations: 0.5813 MB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.8741, allocations: 41.67 kB / 1.228 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.8742, allocations: 56.12 kB / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.8762, allocations: 1.014 MB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.8762, allocations: 0 / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.8763, allocations: 24 kB / 1.229 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.109e-05/0.8764, allocations: 49.28 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.8787, allocations: 1 MB / 1.23 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/0.8827, allocations: 3.49 MB / 1.233 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.8842, allocations: 490.4 kB / 1.234 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.8847, allocations: 232.7 kB / 1.234 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.8848, allocations: 3.938 kB / 1.234 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.8848, allocations: 38.56 kB / 1.234 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.8848, allocations: 0 / 1.234 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43): time 0.006653/0.8915, allocations: 2.02 MB / 1.236 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.8915, allocations: 55.41 kB / 1.236 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006466/0.8922, allocations: 0.5627 MB / 1.237 GB, free: 148 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.8922, allocations: 37.69 kB / 1.237 GB, free: 104 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.8925, allocations: 356.2 kB / 1.237 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.8926, allocations: 149.8 kB / 1.237 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.8928, allocations: 94.16 kB / 1.237 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.8929, allocations: 374.8 kB / 1.238 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.8936, allocations: 258.9 kB / 1.238 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.8944, allocations: 357.8 kB / 1.238 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.8957, allocations: 0.6264 MB / 1.239 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8958, allocations: 4 kB / 1.239 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002377/0.8981, allocations: 0.9312 MB / 1.24 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8982, allocations: 4.344 kB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.8982, allocations: 11.94 kB / 1.24 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.8993, allocations: 272.8 kB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.8999, allocations: 119.8 kB / 1.24 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007661/0.9076, allocations: 9.111 MB / 1.249 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.9082, allocations: 39.95 kB / 1.249 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.9083, allocations: 20 kB / 1.249 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009223/0.9093, allocations: 437 kB / 1.249 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006903/0.91, allocations: 357.4 kB / 1.25 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001315/0.9113, allocations: 0.609 MB / 1.25 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.9113, allocations: 3.938 kB / 1.25 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002479/0.9138, allocations: 1.121 MB / 1.251 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9138, allocations: 15.88 kB / 1.251 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9138, allocations: 3.938 kB / 1.251 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/0.9146, allocations: 221.3 kB / 1.252 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.9152, allocations: 127.8 kB / 1.252 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/0.9219, allocations: 8.79 MB / 1.26 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.9226, allocations: 39.95 kB / 1.26 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.9227, allocations: 20 kB / 1.26 GB, free: 5.672 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.9229, allocations: 208.2 kB / 1.261 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.9231, allocations: 67.19 kB / 1.261 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.9233, allocations: 82.38 kB / 1.261 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9233, allocations: 0 / 1.261 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.9233, allocations: 0 / 1.261 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.9236, allocations: 188.2 kB / 1.261 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/0.9237, allocations: 4 kB / 1.261 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.9243, allocations: 39.95 kB / 1.261 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.9244, allocations: 47.89 kB / 1.261 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002626/0.927, allocations: 0.9307 MB / 1.262 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002168/0.9292, allocations: 1.043 MB / 1.263 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006159/0.9298, allocations: 276 kB / 1.263 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004449/0.9303, allocations: 403.1 kB / 1.264 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of Backend: time 6.01e-07/0.9303, allocations: 4 kB / 1.264 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003931/0.9342, allocations: 2.33 MB / 1.266 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002526/0.9368, allocations: 1.907 MB / 1.268 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.02514/0.9619, allocations: 16.22 MB / 1.284 GB, free: 13.82 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches