Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007071/0.007071, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001383/0.001383, allocations: 188.6 kB / 16.67 MB, free: 5.887 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.619/2.619, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.845/0.8462, allocations: 159.1 MB / 1.221 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2094/1.056, allocations: 194.5 MB / 1.411 GB, free: 15 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01141/1.067, allocations: 6.949 MB / 1.417 GB, free: 8.039 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/1.069, allocations: 43.75 kB / 1.417 GB, free: 7.996 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/1.071, allocations: 0.7142 MB / 1.418 GB, free: 7.277 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006371/1.077, allocations: 2.443 MB / 1.42 GB, free: 4.824 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/1.081, allocations: 1.426 MB / 1.422 GB, free: 3.418 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004508/1.086, allocations: 2.994 MB / 1.425 GB, free: 424 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/1.087, allocations: 0.7396 MB / 1.426 GB, free: 15.66 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/1.09, allocations: 1.16 MB / 1.427 GB, free: 14.5 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/1.091, allocations: 0.8002 MB / 1.427 GB, free: 13.71 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/1.091, allocations: 100 kB / 1.428 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/1.095, allocations: 2.062 MB / 1.43 GB, free: 11.54 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/1.096, allocations: 378.7 kB / 1.43 GB, free: 11.17 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007468/1.096, allocations: 0.5869 MB / 1.43 GB, free: 10.58 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003778/1.1, allocations: 2.394 MB / 1.433 GB, free: 8.18 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.1, allocations: 4 kB / 1.433 GB, free: 8.176 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.457e-06/1.1, allocations: 4 kB / 1.433 GB, free: 8.172 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.698e-05/1.1, allocations: 0 / 1.433 GB, free: 8.172 MB / 1.154 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.003308/1.103, allocations: 1.673 MB / 1.434 GB, free: 6.438 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/1.104, allocations: 8.031 kB / 1.434 GB, free: 6.43 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/1.106, allocations: 0.5377 MB / 1.435 GB, free: 5.891 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/1.109, allocations: 1.042 MB / 1.436 GB, free: 4.801 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/1.109, allocations: 53.31 kB / 1.436 GB, free: 4.75 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.109, allocations: 67.98 kB / 1.436 GB, free: 4.684 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/1.111, allocations: 1.105 MB / 1.437 GB, free: 3.551 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/1.111, allocations: 7.875 kB / 1.437 GB, free: 3.543 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.498e-05/1.111, allocations: 28 kB / 1.437 GB, free: 3.516 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/1.111, allocations: 37.3 kB / 1.437 GB, free: 3.48 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/1.114, allocations: 1.157 MB / 1.438 GB, free: 2.324 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.005432/1.119, allocations: 3.191 MB / 1.442 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/1.121, allocations: 0.6606 MB / 1.442 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/1.122, allocations: 386.2 kB / 1.443 GB, free: 14.01 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008868/1.123, allocations: 1.025 MB / 1.444 GB, free: 12.76 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009798/1.124, allocations: 0.5143 MB / 1.444 GB, free: 12.22 MB / 1.17 GB Notification: Performance of pre-optimization done (n=57): time 2.564e-06/1.124, allocations: 0 / 1.444 GB, free: 12.22 MB / 1.17 GB Notification: Performance of matching and sorting (n=57): time 0.002873/1.127, allocations: 1.229 MB / 1.445 GB, free: 10.98 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/1.127, allocations: 144.8 kB / 1.445 GB, free: 10.81 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/1.128, allocations: 1.172 MB / 1.447 GB, free: 9.621 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/1.128, allocations: 37.7 kB / 1.447 GB, free: 9.578 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/1.129, allocations: 441.8 kB / 1.447 GB, free: 9.141 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/1.129, allocations: 202.3 kB / 1.447 GB, free: 8.941 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/1.129, allocations: 146.1 kB / 1.447 GB, free: 8.793 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.129, allocations: 325.9 kB / 1.448 GB, free: 8.469 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.131, allocations: 448.8 kB / 1.448 GB, free: 8.031 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/1.132, allocations: 0.5938 MB / 1.449 GB, free: 7.387 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.134, allocations: 0.9262 MB / 1.45 GB, free: 6.406 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.134, allocations: 0 / 1.45 GB, free: 6.406 MB / 1.17 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002876/1.137, allocations: 1.202 MB / 1.451 GB, free: 5.188 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/1.137, allocations: 37.7 kB / 1.451 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.137, allocations: 0 / 1.451 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.137, allocations: 8 kB / 1.451 GB, free: 5.137 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/1.138, allocations: 187.8 kB / 1.451 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.138, allocations: 11.92 kB / 1.451 GB, free: 4.941 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.139, allocations: 243.2 kB / 1.451 GB, free: 4.703 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/1.139, allocations: 35.97 kB / 1.451 GB, free: 4.668 MB / 1.17 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.0004838/1.14, allocations: 335.8 kB / 1.452 GB, free: 4.324 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/1.14, allocations: 119.2 kB / 1.452 GB, free: 4.207 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/1.142, allocations: 0.9971 MB / 1.453 GB, free: 3.207 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.142, allocations: 12.03 kB / 1.453 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.142, allocations: 7.922 kB / 1.453 GB, free: 3.188 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.142, allocations: 0 / 1.453 GB, free: 3.188 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/1.147, allocations: 3.162 MB / 1.456 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.147, allocations: 12.03 kB / 1.456 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/1.147, allocations: 115.8 kB / 1.456 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.147, allocations: 12 kB / 1.456 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/1.147, allocations: 23.98 kB / 1.456 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/1.147, allocations: 11.94 kB / 1.456 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.147, allocations: 19.88 kB / 1.456 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/1.15, allocations: 1.357 MB / 1.457 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/1.15, allocations: 332.1 kB / 1.458 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.15, allocations: 31.98 kB / 1.458 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.151, allocations: 95.91 kB / 1.458 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.152, allocations: 63.75 kB / 1.458 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/1.152, allocations: 35.98 kB / 1.458 GB, free: 13.63 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001463/1.153, allocations: 0.8482 MB / 1.459 GB, free: 12.78 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.153, allocations: 0 / 1.459 GB, free: 12.78 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001086/1.154, allocations: 307.6 kB / 1.459 GB, free: 12.48 MB / 1.186 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.0007673/1.155, allocations: 344.9 kB / 1.459 GB, free: 12.14 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002329/1.157, allocations: 0.974 MB / 1.46 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.157, allocations: 4 kB / 1.46 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008921/1.158, allocations: 476.9 kB / 1.461 GB, free: 10.68 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.161, allocations: 0.5553 MB / 1.461 GB, free: 10.14 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/1.164, allocations: 2.054 MB / 1.463 GB, free: 7.941 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/1.165, allocations: 1.065 MB / 1.464 GB, free: 6.844 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009233/1.166, allocations: 275.2 kB / 1.464 GB, free: 6.574 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/1.166, allocations: 83.42 kB / 1.465 GB, free: 6.492 MB / 1.186 GB Notification: Performance of SimCode: time 7.31e-07/1.166, allocations: 0 / 1.465 GB, free: 6.492 MB / 1.186 GB Notification: Performance of Templates: time 0.03561/1.202, allocations: 22.27 MB / 1.486 GB, free: 472 kB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches