Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001795/0.001796, allocations: 112 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.001977/0.001977, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.583/2.583, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7071, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02244/0.7296, allocations: 20.85 MB / 1.247 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007495/0.7371, allocations: 5.386 MB / 1.252 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.7378, allocations: 23.88 kB / 1.252 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009517/0.7388, allocations: 353.8 kB / 1.252 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.7412, allocations: 0.9602 MB / 1.253 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.7436, allocations: 0.9407 MB / 1.254 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.7459, allocations: 1.739 MB / 1.256 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.7467, allocations: 497.2 kB / 1.256 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.7485, allocations: 0.7245 MB / 1.257 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000778/0.7493, allocations: 497.8 kB / 1.258 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.7494, allocations: 40 kB / 1.258 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.7513, allocations: 1.123 MB / 1.259 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.7515, allocations: 143.4 kB / 1.259 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.7519, allocations: 334.2 kB / 1.259 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.7541, allocations: 1.219 MB / 1.26 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7541, allocations: 7.938 kB / 1.26 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7541, allocations: 0 / 1.26 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.7541, allocations: 0 / 1.26 GB, free: 10.65 MB / 0.9825 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.001868/0.756, allocations: 1.071 MB / 1.261 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.756, allocations: 8.031 kB / 1.261 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009312/0.757, allocations: 180.4 kB / 1.262 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.7581, allocations: 0.597 MB / 1.262 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.7582, allocations: 29 kB / 1.262 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.7583, allocations: 40 kB / 1.262 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.7593, allocations: 499.9 kB / 1.263 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.7593, allocations: 0 / 1.263 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.7594, allocations: 16 kB / 1.263 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.7594, allocations: 12 kB / 1.263 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009858/0.7604, allocations: 402.6 kB / 1.263 GB, free: 7.699 MB / 0.9825 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.002932/0.7633, allocations: 2.297 MB / 1.265 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/0.7643, allocations: 359 kB / 1.266 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.7648, allocations: 228.9 kB / 1.266 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.7651, allocations: 344.7 kB / 1.266 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/0.7658, allocations: 299.1 kB / 1.267 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.7658, allocations: 0 / 1.267 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002221/0.768, allocations: 0.851 MB / 1.267 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7681, allocations: 89.09 kB / 1.267 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.7686, allocations: 498.9 kB / 1.268 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.7687, allocations: 33.7 kB / 1.268 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.7689, allocations: 280.7 kB / 1.268 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.769, allocations: 115.1 kB / 1.268 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.7691, allocations: 73.64 kB / 1.268 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7692, allocations: 362.8 kB / 1.269 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.7697, allocations: 180.7 kB / 1.269 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.7702, allocations: 261.2 kB / 1.269 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.7711, allocations: 467.1 kB / 1.27 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7711, allocations: 0 / 1.27 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001381/0.7725, allocations: 0.6247 MB / 1.27 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.7726, allocations: 37.69 kB / 1.27 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7726, allocations: 0 / 1.27 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.7729, allocations: 72.75 kB / 1.27 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.7733, allocations: 80.03 kB / 1.27 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004341/0.7738, allocations: 0.5992 MB / 1.271 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.7742, allocations: 59.8 kB / 1.271 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.7743, allocations: 12 kB / 1.271 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005521/0.7748, allocations: 316 kB / 1.271 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004821/0.7753, allocations: 257.4 kB / 1.272 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008638/0.7762, allocations: 453.2 kB / 1.272 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.7762, allocations: 4 kB / 1.272 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001218/0.7774, allocations: 0.5929 MB / 1.273 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.7775, allocations: 33.7 kB / 1.273 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7775, allocations: 4 kB / 1.273 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.7776, allocations: 48.83 kB / 1.273 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.778, allocations: 80 kB / 1.273 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.7794, allocations: 1.802 MB / 1.275 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.7799, allocations: 51.78 kB / 1.275 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.7799, allocations: 20.05 kB / 1.275 GB, free: 11.15 MB / 0.9981 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.0001724/0.7801, allocations: 251.2 kB / 1.275 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.7802, allocations: 59.62 kB / 1.275 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.7815, allocations: 0.6535 MB / 1.276 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/0.7828, allocations: 0.7936 MB / 1.276 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.7828, allocations: 3.938 kB / 1.276 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.783, allocations: 184.5 kB / 1.276 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.7831, allocations: 8 kB / 1.276 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.7836, allocations: 39.95 kB / 1.277 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.7836, allocations: 27.95 kB / 1.277 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001516/0.7852, allocations: 0.744 MB / 1.277 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001686/0.7869, allocations: 0.9837 MB / 1.278 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004627/0.7873, allocations: 227.9 kB / 1.278 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003466/0.7877, allocations: 354.8 kB / 1.279 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of Backend: time 5.21e-07/0.7877, allocations: 0 / 1.279 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002647/0.7903, allocations: 1.159 MB / 1.28 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002022/0.7924, allocations: 1.639 MB / 1.282 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of Templates: time 0.02197/0.8144, allocations: 13.86 MB / 1.295 GB, free: 6.02 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches