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.001365/0.001365, allocations: 116.8 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.001449/0.001449, allocations: 186.6 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.363/1.363, 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 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 71.89 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.929/0.9308, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005057/0.9359, allocations: 3.076 MB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.9382, allocations: 1.336 MB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.9385, allocations: 7.938 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.9396, allocations: 336 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.94, allocations: 143.3 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.9405, allocations: 135.6 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.9409, allocations: 303 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/0.9414, allocations: 240.3 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.9416, allocations: 131.5 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.942, allocations: 131.5 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.9421, allocations: 20 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.9425, allocations: 167.6 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.9426, allocations: 79.8 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.9428, allocations: 115.5 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.9433, allocations: 336.6 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9433, allocations: 0 / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9434, allocations: 4 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.9434, allocations: 0 / 1.174 GB, free: 13.34 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.001027/0.9444, allocations: 0.5146 MB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.9445, allocations: 8.031 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.9451, allocations: 76.58 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.9455, allocations: 255.9 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.9456, allocations: 12.75 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.9456, allocations: 20.38 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.9461, allocations: 295.5 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9461, allocations: 4 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.9461, allocations: 7.984 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.9462, allocations: 28.34 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.9465, allocations: 196.9 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.9482, allocations: 1.448 MB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.9485, allocations: 171.7 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.9486, allocations: 40.84 kB / 1.177 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.9486, allocations: 0 / 1.177 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.9486, allocations: 34.56 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.9486, allocations: 0 / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0005105/0.9492, allocations: 227.5 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.9492, allocations: 55.41 kB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.9494, allocations: 208.5 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.9494, allocations: 25.7 kB / 1.177 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.9495, allocations: 163.6 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.9496, allocations: 23.66 kB / 1.177 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.9496, allocations: 37.7 kB / 1.177 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9498, allocations: 330.7 kB / 1.178 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.045e-05/0.9499, allocations: 35.98 kB / 1.178 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.95, allocations: 106.8 kB / 1.178 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.9502, allocations: 148.4 kB / 1.178 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9502, allocations: 0 / 1.178 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003234/0.9505, allocations: 194.1 kB / 1.178 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9505, allocations: 4 kB / 1.178 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9506, allocations: 4 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.9507, allocations: 24.84 kB / 1.178 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.9509, allocations: 31.92 kB / 1.178 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.952, allocations: 1.422 MB / 1.18 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.9521, allocations: 23.84 kB / 1.18 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.9522, allocations: 12.06 kB / 1.18 GB, free: 6.605 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.0001278/0.9523, allocations: 142.3 kB / 1.18 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.9524, allocations: 27.73 kB / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.9524, allocations: 13.41 kB / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9524, allocations: 0 / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.9524, allocations: 0 / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.9525, allocations: 100.9 kB / 1.18 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.9525, allocations: 4 kB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.9526, allocations: 0 / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.9527, allocations: 11.98 kB / 1.18 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002444/0.9529, allocations: 189.7 kB / 1.18 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000267/0.9532, allocations: 294.5 kB / 1.18 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.752e-05/0.9533, allocations: 31.98 kB / 1.18 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00012/0.9534, allocations: 139.2 kB / 1.181 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of Backend: time 4.91e-07/0.9534, allocations: 0 / 1.181 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008531/0.9543, allocations: 360.9 kB / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009009/0.9552, allocations: 0.839 MB / 1.182 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of Templates: time 0.006713/0.9619, allocations: 2.571 MB / 1.184 GB, free: 1.805 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