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 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.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.001547/0.001547, allocations: 111.3 kB / 16.41 MB, free: 6.453 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.001798/0.001799, allocations: 189.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.321/1.321, 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.496/2.496, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6895, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02243/0.712, allocations: 20.83 MB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007613/0.7196, allocations: 5.392 MB / 1.234 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007034/0.7204, allocations: 23.88 kB / 1.234 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009738/0.7214, allocations: 345.8 kB / 1.234 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.7239, allocations: 0.9241 MB / 1.235 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.7264, allocations: 0.9405 MB / 1.236 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.7286, allocations: 1.735 MB / 1.238 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.7295, allocations: 499.1 kB / 1.238 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.7312, allocations: 0.7088 MB / 1.239 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008532/0.7321, allocations: 0.4939 MB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.7322, allocations: 40 kB / 1.24 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.7342, allocations: 1.127 MB / 1.241 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.7344, allocations: 139.4 kB / 1.241 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.7349, allocations: 330.3 kB / 1.241 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.7369, allocations: 1.219 MB / 1.242 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7369, allocations: 0 / 1.242 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7369, allocations: 0 / 1.242 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.7369, allocations: 0 / 1.242 GB, free: 10.92 MB / 0.9669 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.001732/0.7387, allocations: 1.045 MB / 1.243 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.7387, allocations: 8.031 kB / 1.243 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.7397, allocations: 180 kB / 1.244 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.7408, allocations: 0.5887 MB / 1.244 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.7409, allocations: 29 kB / 1.244 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.7409, allocations: 40 kB / 1.244 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/0.7419, allocations: 499.9 kB / 1.245 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.7419, allocations: 3.938 kB / 1.245 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.742, allocations: 15.98 kB / 1.245 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.742, allocations: 12 kB / 1.245 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000976/0.743, allocations: 406.6 kB / 1.245 GB, free: 8 MB / 0.9669 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.002914/0.7459, allocations: 2.289 MB / 1.247 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.7469, allocations: 363 kB / 1.248 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.7475, allocations: 225 kB / 1.248 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.7478, allocations: 340.6 kB / 1.248 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/0.7484, allocations: 297.9 kB / 1.248 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.7484, allocations: 0 / 1.248 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002176/0.7506, allocations: 0.8521 MB / 1.249 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.7506, allocations: 81.11 kB / 1.249 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.7512, allocations: 498.9 kB / 1.25 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.7512, allocations: 33.7 kB / 1.25 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.7515, allocations: 280.4 kB / 1.25 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.7516, allocations: 110.5 kB / 1.25 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.7517, allocations: 77.69 kB / 1.25 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7518, allocations: 358.8 kB / 1.251 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.7523, allocations: 176.7 kB / 1.251 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.7528, allocations: 265 kB / 1.251 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008983/0.7537, allocations: 462.1 kB / 1.252 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.7538, allocations: 4 kB / 1.252 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001386/0.7551, allocations: 0.6239 MB / 1.252 GB, free: 252 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.7552, allocations: 37.7 kB / 1.252 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7552, allocations: 0 / 1.252 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.7556, allocations: 72.78 kB / 1.252 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.7559, allocations: 71.95 kB / 1.252 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004566/0.7564, allocations: 0.6069 MB / 1.253 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.7569, allocations: 59.7 kB / 1.253 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.7569, allocations: 19.98 kB / 1.253 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005626/0.7575, allocations: 304 kB / 1.253 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004709/0.758, allocations: 265.1 kB / 1.254 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008627/0.7589, allocations: 453 kB / 1.254 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.7589, allocations: 4 kB / 1.254 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001247/0.7601, allocations: 0.5888 MB / 1.255 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.7602, allocations: 37.7 kB / 1.255 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.7602, allocations: 0 / 1.255 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.7603, allocations: 52.98 kB / 1.255 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.7607, allocations: 79.88 kB / 1.255 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.7622, allocations: 1.802 MB / 1.256 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.7627, allocations: 55.66 kB / 1.257 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.7627, allocations: 19.98 kB / 1.257 GB, free: 11.46 MB / 0.9825 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.0001877/0.7629, allocations: 233.8 kB / 1.257 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.763, allocations: 67.39 kB / 1.257 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.7644, allocations: 0.6389 MB / 1.257 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/0.7657, allocations: 0.8022 MB / 1.258 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.7657, allocations: 0 / 1.258 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.7659, allocations: 192.2 kB / 1.258 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.766, allocations: 8 kB / 1.258 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.7665, allocations: 35.95 kB / 1.258 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.7666, allocations: 27.95 kB / 1.259 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001522/0.7681, allocations: 0.7326 MB / 1.259 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001676/0.7698, allocations: 0.98 MB / 1.26 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004664/0.7703, allocations: 237.3 kB / 1.26 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003612/0.7706, allocations: 346.8 kB / 1.261 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of Backend: time 3.51e-07/0.7706, allocations: 0 / 1.261 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002626/0.7733, allocations: 1.171 MB / 1.262 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002099/0.7754, allocations: 1.624 MB / 1.263 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of Templates: time 0.02201/0.7974, allocations: 14.14 MB / 1.277 GB, free: 6.09 MB / 0.9981 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