Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001288/0.001288, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.11 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.4/2.4, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6875/0.6889, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02035/0.7092, allocations: 20.85 MB / 1.188 GB, free: 14.9 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007368/0.7166, allocations: 5.381 MB / 1.193 GB, free: 9.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008023/0.7175, allocations: 23.88 kB / 1.193 GB, free: 9.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009634/0.7184, allocations: 349.8 kB / 1.193 GB, free: 9.133 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.7209, allocations: 0.9689 MB / 1.194 GB, free: 8.16 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.7233, allocations: 0.9462 MB / 1.195 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.7255, allocations: 1.735 MB / 1.197 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007848/0.7263, allocations: 0.4932 MB / 1.197 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.728, allocations: 0.7178 MB / 1.198 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.7288, allocations: 497.8 kB / 1.199 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.729, allocations: 44 kB / 1.199 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.7309, allocations: 1.123 MB / 1.2 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.7311, allocations: 139.4 kB / 1.2 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.7315, allocations: 322.3 kB / 1.2 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.7334, allocations: 1.217 MB / 1.201 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7334, allocations: 0 / 1.201 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7334, allocations: 0 / 1.201 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.7335, allocations: 0 / 1.201 GB, free: 0.9375 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001749/0.7352, allocations: 1.053 MB / 1.202 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7353, allocations: 8.031 kB / 1.202 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009456/0.7362, allocations: 176 kB / 1.202 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.7374, allocations: 0.5926 MB / 1.203 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.7375, allocations: 32.98 kB / 1.203 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.7375, allocations: 36 kB / 1.203 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000973/0.7385, allocations: 499.9 kB / 1.204 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.7385, allocations: 0 / 1.204 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.7386, allocations: 16 kB / 1.204 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.7386, allocations: 15.98 kB / 1.204 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.7396, allocations: 402.6 kB / 1.204 GB, free: 14.01 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003167/0.7428, allocations: 2.282 MB / 1.206 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.7438, allocations: 371 kB / 1.207 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.7444, allocations: 224.9 kB / 1.207 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.7446, allocations: 340.6 kB / 1.207 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006199/0.7453, allocations: 302 kB / 1.207 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.7453, allocations: 0 / 1.207 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002181/0.7475, allocations: 0.8548 MB / 1.208 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.7475, allocations: 81.11 kB / 1.208 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.748, allocations: 495 kB / 1.209 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.7481, allocations: 33.7 kB / 1.209 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.7483, allocations: 280.4 kB / 1.209 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.7483, allocations: 106.5 kB / 1.209 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.7485, allocations: 81.67 kB / 1.209 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7486, allocations: 358.8 kB / 1.21 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.7491, allocations: 172.8 kB / 1.21 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.7496, allocations: 266.6 kB / 1.21 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009139/0.7505, allocations: 470.1 kB / 1.21 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7505, allocations: 0 / 1.21 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001377/0.7519, allocations: 0.6045 MB / 1.211 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.7519, allocations: 41.69 kB / 1.211 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.752, allocations: 7.938 kB / 1.211 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.7523, allocations: 64.81 kB / 1.211 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.7527, allocations: 80.03 kB / 1.211 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004296/0.7531, allocations: 0.6029 MB / 1.212 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.7536, allocations: 59.75 kB / 1.212 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.7536, allocations: 19.98 kB / 1.212 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005539/0.7542, allocations: 308 kB / 1.212 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004826/0.7547, allocations: 265.5 kB / 1.212 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008753/0.7556, allocations: 456.8 kB / 1.213 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.7556, allocations: 4 kB / 1.213 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001237/0.7568, allocations: 0.5889 MB / 1.213 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.7569, allocations: 41.69 kB / 1.214 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.7569, allocations: 0 / 1.214 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.757, allocations: 48.83 kB / 1.214 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.7574, allocations: 79.97 kB / 1.214 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.7588, allocations: 1.806 MB / 1.215 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.7592, allocations: 59.64 kB / 1.215 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.7593, allocations: 16 kB / 1.215 GB, free: 1.477 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.7595, allocations: 242.5 kB / 1.216 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/0.7596, allocations: 55.34 kB / 1.216 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.7609, allocations: 0.6532 MB / 1.216 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/0.7621, allocations: 0.7938 MB / 1.217 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7622, allocations: 0 / 1.217 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.7624, allocations: 180.2 kB / 1.217 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-05/0.7625, allocations: 12 kB / 1.217 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.763, allocations: 47.89 kB / 1.217 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.763, allocations: 19.97 kB / 1.217 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001535/0.7646, allocations: 0.7329 MB / 1.218 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00172/0.7663, allocations: 0.9873 MB / 1.219 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004913/0.7668, allocations: 232.1 kB / 1.219 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003543/0.7672, allocations: 350.8 kB / 1.22 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of Backend: time 4.1e-07/0.7672, allocations: 0 / 1.22 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.77, allocations: 1.169 MB / 1.221 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002086/0.7721, allocations: 1.62 MB / 1.222 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of Templates: time 0.03468/0.8068, allocations: 13.85 MB / 1.236 GB, free: 12.4 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches