Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009297, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006656/0.006656, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.982/2.982, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004299, allocations: 9.438 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.427, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2365/0.6636, allocations: 189.1 MB / 1.243 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.677, allocations: 6.936 MB / 1.25 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.6793, allocations: 35.75 kB / 1.25 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.6818, allocations: 0.5593 MB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.8233/1.505, allocations: 2.185 MB / 1.253 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006827/1.512, allocations: 1.288 MB / 1.254 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007956/1.52, allocations: 3.73 MB / 1.258 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/1.523, allocations: 0.7755 MB / 1.259 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/1.526, allocations: 0.9659 MB / 1.259 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/1.53, allocations: 0.7846 MB / 1.26 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004913/1.53, allocations: 40.62 kB / 1.26 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008392/1.539, allocations: 2.219 MB / 1.262 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/1.54, allocations: 311 kB / 1.263 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00177/1.541, allocations: 0.5432 MB / 1.263 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006835/1.548, allocations: 2.396 MB / 1.266 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.548, allocations: 0.75 kB / 1.266 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.036e-06/1.548, allocations: 0 / 1.266 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.922e-05/1.548, allocations: 4.625 kB / 1.266 GB, free: 3.25 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004742/1.553, allocations: 1.384 MB / 1.267 GB, free: 18.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.553, allocations: 9.969 kB / 1.267 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/1.557, allocations: 0.6022 MB / 1.268 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/1.56, allocations: 0.9941 MB / 1.269 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001358/1.561, allocations: 315.2 kB / 1.269 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/1.561, allocations: 65.88 kB / 1.269 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/1.564, allocations: 1.155 MB / 1.27 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.564, allocations: 7.375 kB / 1.27 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/1.564, allocations: 27.05 kB / 1.27 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/1.564, allocations: 29.67 kB / 1.27 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/1.568, allocations: 1.255 MB / 1.271 GB, free: 17.79 MB / 1.014 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.007578/1.576, allocations: 3.251 MB / 1.274 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/1.577, allocations: 0.7081 MB / 1.275 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/1.578, allocations: 430.1 kB / 1.276 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009701/1.579, allocations: 1.023 MB / 1.277 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/1.58, allocations: 0.5241 MB / 1.277 GB, free: 15.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/1.58, allocations: 0 / 1.277 GB, free: 15.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.003089/1.583, allocations: 1.238 MB / 1.278 GB, free: 15.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/1.583, allocations: 142.9 kB / 1.278 GB, free: 15.22 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/1.586, allocations: 1.227 MB / 1.28 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.586, allocations: 38.83 kB / 1.28 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/1.586, allocations: 444.6 kB / 1.28 GB, free: 14.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/1.586, allocations: 188 kB / 1.28 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/1.586, allocations: 49.56 kB / 1.28 GB, free: 14.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.586, allocations: 332.3 kB / 1.281 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/1.588, allocations: 484.9 kB / 1.281 GB, free: 14.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.589, allocations: 0.6459 MB / 1.282 GB, free: 14.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/1.591, allocations: 0.9766 MB / 1.283 GB, free: 14.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.591, allocations: 0.6562 kB / 1.283 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003558/1.595, allocations: 1.29 MB / 1.284 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/1.595, allocations: 37.28 kB / 1.284 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.595, allocations: 3 kB / 1.284 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.595, allocations: 6.312 kB / 1.284 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/1.596, allocations: 214.6 kB / 1.284 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.596, allocations: 10.09 kB / 1.284 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.598, allocations: 314.2 kB / 1.284 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.598, allocations: 35.53 kB / 1.285 GB, free: 13.79 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006301/1.599, allocations: 329.1 kB / 1.285 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/1.599, allocations: 115.8 kB / 1.285 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/1.601, allocations: 1.013 MB / 1.286 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.601, allocations: 8.75 kB / 1.286 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/1.601, allocations: 1.125 kB / 1.286 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/1.601, allocations: 8.375 kB / 1.286 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/1.606, allocations: 3.177 MB / 1.289 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.606, allocations: 7.281 kB / 1.289 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/1.607, allocations: 125.9 kB / 1.289 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.607, allocations: 13.94 kB / 1.289 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/1.607, allocations: 28.14 kB / 1.289 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.364e-05/1.607, allocations: 16.62 kB / 1.289 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.607, allocations: 11.81 kB / 1.289 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/1.609, allocations: 1.345 MB / 1.291 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/1.61, allocations: 333.1 kB / 1.291 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/1.61, allocations: 30.5 kB / 1.291 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.612, allocations: 127.7 kB / 1.291 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.612, allocations: 56.83 kB / 1.291 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/1.612, allocations: 41.25 kB / 1.291 GB, free: 11.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001652/1.613, allocations: 0.8872 MB / 1.292 GB, free: 11.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.613, allocations: 0 / 1.292 GB, free: 11.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001309/1.615, allocations: 307.3 kB / 1.292 GB, free: 11.76 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006935/1.615, allocations: 341.1 kB / 1.293 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002417/1.618, allocations: 1.058 MB / 1.294 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.618, allocations: 3.406 kB / 1.294 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008603/1.619, allocations: 0.5154 MB / 1.294 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/1.623, allocations: 0.5349 MB / 1.295 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/1.627, allocations: 2.372 MB / 1.297 GB, free: 10.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/1.627, allocations: 1.069 MB / 1.298 GB, free: 9.508 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001228/1.629, allocations: 277.5 kB / 1.298 GB, free: 9.449 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/1.629, allocations: 81.16 kB / 1.298 GB, free: 9.441 MB / 1.014 GB Notification: Performance of SimCode: time 1.212e-06/1.629, allocations: 4 kB / 1.298 GB, free: 9.438 MB / 1.014 GB Notification: Performance of Templates: time 0.03585/1.665, allocations: 21.13 MB / 1.319 GB, free: 4.598 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches