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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.00145/0.00145, allocations: 111.8 kB / 16.41 MB, free: 6.508 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.001592/0.001592, allocations: 183.9 kB / 17.34 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 71.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6504/0.6517, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1857/0.8374, allocations: 194 MB / 1.398 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.8479, allocations: 6.935 MB / 1.404 GB, free: 3.965 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.8492, allocations: 51.62 kB / 1.404 GB, free: 3.914 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.851, allocations: 0.6987 MB / 1.405 GB, free: 3.211 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005366/0.8564, allocations: 2.33 MB / 1.407 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.8597, allocations: 1.431 MB / 1.409 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003807/0.8635, allocations: 2.998 MB / 1.412 GB, free: 12.45 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.8648, allocations: 0.8879 MB / 1.413 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.8673, allocations: 1.133 MB / 1.414 GB, free: 10.41 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.8685, allocations: 0.8038 MB / 1.415 GB, free: 9.613 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.8687, allocations: 96 kB / 1.415 GB, free: 9.52 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.8724, allocations: 2.062 MB / 1.417 GB, free: 7.453 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004024/0.8728, allocations: 358.9 kB / 1.417 GB, free: 7.102 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006488/0.8734, allocations: 0.5908 MB / 1.418 GB, free: 6.508 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.8766, allocations: 2.386 MB / 1.42 GB, free: 4.117 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8766, allocations: 8 kB / 1.42 GB, free: 4.109 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8766, allocations: 0 / 1.42 GB, free: 4.109 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.8767, allocations: 3.938 kB / 1.42 GB, free: 4.105 MB / 1.139 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.003195/0.8799, allocations: 1.621 MB / 1.421 GB, free: 2.426 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.8799, allocations: 8.031 kB / 1.421 GB, free: 2.418 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.8828, allocations: 0.5409 MB / 1.422 GB, free: 1.875 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.8849, allocations: 1.03 MB / 1.423 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.885, allocations: 65.19 kB / 1.423 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.8851, allocations: 64 kB / 1.423 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.8875, allocations: 1.113 MB / 1.424 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.8875, allocations: 3.938 kB / 1.424 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/0.8876, allocations: 28 kB / 1.424 GB, free: 15.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.8877, allocations: 33.3 kB / 1.424 GB, free: 15.47 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.8906, allocations: 1.157 MB / 1.425 GB, free: 14.31 MB / 1.154 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.005297/0.896, allocations: 3.166 MB / 1.429 GB, free: 11.07 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.8976, allocations: 0.6831 MB / 1.429 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/0.8984, allocations: 426.9 kB / 1.43 GB, free: 9.965 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008404/0.8993, allocations: 1.025 MB / 1.431 GB, free: 8.715 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009839/0.9003, allocations: 0.5104 MB / 1.431 GB, free: 8.184 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/0.9003, allocations: 0 / 1.431 GB, free: 8.184 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.002899/0.9032, allocations: 1.229 MB / 1.432 GB, free: 6.945 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.9033, allocations: 140.8 kB / 1.432 GB, free: 6.777 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.9051, allocations: 1.18 MB / 1.434 GB, free: 5.582 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.9051, allocations: 37.7 kB / 1.434 GB, free: 5.539 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.9055, allocations: 441.5 kB / 1.434 GB, free: 5.105 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.9057, allocations: 189.2 kB / 1.434 GB, free: 4.918 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.9059, allocations: 142 kB / 1.434 GB, free: 4.773 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.906, allocations: 334 kB / 1.435 GB, free: 4.441 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.9073, allocations: 436.9 kB / 1.435 GB, free: 4.012 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.9086, allocations: 0.5977 MB / 1.436 GB, free: 3.363 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.9107, allocations: 0.9301 MB / 1.437 GB, free: 2.383 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9107, allocations: 0 / 1.437 GB, free: 2.383 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00297/0.9137, allocations: 1.201 MB / 1.438 GB, free: 1.16 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.9137, allocations: 37.69 kB / 1.438 GB, free: 1.117 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.9137, allocations: 4 kB / 1.438 GB, free: 1.113 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9137, allocations: 4 kB / 1.438 GB, free: 1.109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/0.9147, allocations: 187.8 kB / 1.438 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.9147, allocations: 11.94 kB / 1.438 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.9161, allocations: 250.3 kB / 1.438 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/0.9162, allocations: 31.98 kB / 1.438 GB, free: 0.6406 MB / 1.154 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.0004262/0.9166, allocations: 333 kB / 1.439 GB, free: 308 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.9168, allocations: 114.6 kB / 1.439 GB, free: 192 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.9189, allocations: 0.9862 MB / 1.44 GB, free: 15.19 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.9189, allocations: 7.984 kB / 1.44 GB, free: 15.18 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.9189, allocations: 3.938 kB / 1.44 GB, free: 15.18 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.9194, allocations: 327.2 kB / 1.44 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.9195, allocations: 12 kB / 1.44 GB, free: 14.83 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/0.9205, allocations: 91.91 kB / 1.44 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.9206, allocations: 40.33 kB / 1.44 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002194/0.9228, allocations: 1.212 MB / 1.441 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001987/0.9248, allocations: 1.287 MB / 1.443 GB, free: 12.15 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007742/0.9255, allocations: 415.7 kB / 1.443 GB, free: 11.74 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0014/0.927, allocations: 0.8481 MB / 1.444 GB, free: 10.89 MB / 1.17 GB Notification: Performance of Backend: time 3.31e-07/0.927, allocations: 8 kB / 1.444 GB, free: 10.88 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003261/0.9302, allocations: 1.187 MB / 1.445 GB, free: 9.691 MB / 1.17 GB Notification: Performance of SimCode: time 0.003502/0.9338, allocations: 2.336 MB / 1.447 GB, free: 7.289 MB / 1.17 GB Notification: Performance of Templates: time 0.03846/0.9722, allocations: 26.56 MB / 1.473 GB, free: 12.94 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches