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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002452/0.002452, allocations: 213.5 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.596/3.596, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 69.31 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3988, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2404/0.6392, allocations: 171.9 MB / 1.532 GB, free: 1.039 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.6514, allocations: 6.557 MB / 1.538 GB, free: 10.47 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.6531, allocations: 59.44 kB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.6554, allocations: 0.7064 MB / 1.539 GB, free: 9.703 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007071/0.6624, allocations: 2.408 MB / 1.541 GB, free: 7.285 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004304/0.6667, allocations: 1.45 MB / 1.543 GB, free: 5.852 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005312/0.6721, allocations: 3.009 MB / 1.546 GB, free: 2.836 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.6738, allocations: 0.701 MB / 1.546 GB, free: 2.121 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/0.6786, allocations: 1.639 MB / 1.548 GB, free: 492 kB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.6807, allocations: 0.7952 MB / 1.549 GB, free: 15.69 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000452/0.6812, allocations: 100 kB / 1.549 GB, free: 15.59 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.6853, allocations: 1.66 MB / 1.55 GB, free: 13.93 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007121/0.6861, allocations: 382.7 kB / 1.551 GB, free: 13.55 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009869/0.687, allocations: 473.7 kB / 1.551 GB, free: 13.09 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005678/0.6927, allocations: 2.348 MB / 1.554 GB, free: 10.73 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6927, allocations: 0 / 1.554 GB, free: 10.73 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6927, allocations: 0 / 1.554 GB, free: 10.73 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.693e-05/0.6928, allocations: 4 kB / 1.554 GB, free: 10.73 MB / 1.248 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.005008/0.6978, allocations: 1.596 MB / 1.555 GB, free: 9.094 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.6978, allocations: 8.031 kB / 1.555 GB, free: 9.086 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/0.7012, allocations: 0.5416 MB / 1.556 GB, free: 8.543 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.7044, allocations: 0.9663 MB / 1.557 GB, free: 7.543 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.7045, allocations: 57.31 kB / 1.557 GB, free: 7.488 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/0.7047, allocations: 68 kB / 1.557 GB, free: 7.422 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.7078, allocations: 1.234 MB / 1.558 GB, free: 6.133 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.7078, allocations: 11.88 kB / 1.558 GB, free: 6.121 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7079, allocations: 27.98 kB / 1.558 GB, free: 6.094 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.708, allocations: 29.31 kB / 1.558 GB, free: 6.066 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/0.7114, allocations: 1.193 MB / 1.559 GB, free: 4.863 MB / 1.248 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.006445/0.7179, allocations: 2.702 MB / 1.562 GB, free: 2.105 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.7198, allocations: 0.6779 MB / 1.562 GB, free: 1.414 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009232/0.7207, allocations: 423.7 kB / 1.563 GB, free: 0.9922 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/0.7212, allocations: 132.3 kB / 1.563 GB, free: 0.8633 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.7224, allocations: 0.6472 MB / 1.564 GB, free: 156 kB / 1.248 GB Notification: Performance of pre-optimization done (n=57): time 3.316e-06/0.7224, allocations: 0 / 1.564 GB, free: 156 kB / 1.248 GB Notification: Performance of matching and sorting (n=57): time 0.003372/0.7258, allocations: 1.264 MB / 1.565 GB, free: 14.86 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/0.7259, allocations: 140.8 kB / 1.565 GB, free: 14.7 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.7277, allocations: 0.8917 MB / 1.566 GB, free: 13.79 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.7278, allocations: 37.7 kB / 1.566 GB, free: 13.75 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.7283, allocations: 460.6 kB / 1.566 GB, free: 13.29 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.7285, allocations: 198.4 kB / 1.566 GB, free: 13.1 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.7289, allocations: 146.2 kB / 1.567 GB, free: 12.95 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.729, allocations: 333.9 kB / 1.567 GB, free: 12.61 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.7304, allocations: 470.7 kB / 1.567 GB, free: 12.15 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.7323, allocations: 0.9863 MB / 1.568 GB, free: 11.02 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.7346, allocations: 0.9293 MB / 1.569 GB, free: 10.04 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.7346, allocations: 0 / 1.569 GB, free: 10.04 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003549/0.7382, allocations: 1.218 MB / 1.57 GB, free: 8.801 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.7382, allocations: 37.69 kB / 1.57 GB, free: 8.758 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7382, allocations: 7.938 kB / 1.57 GB, free: 8.75 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.7383, allocations: 8.469 kB / 1.57 GB, free: 8.742 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/0.7392, allocations: 184 kB / 1.571 GB, free: 8.562 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.7393, allocations: 8 kB / 1.571 GB, free: 8.555 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.7408, allocations: 223.3 kB / 1.571 GB, free: 8.336 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.7409, allocations: 35.98 kB / 1.571 GB, free: 8.301 MB / 1.264 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.0006376/0.7415, allocations: 328.4 kB / 1.571 GB, free: 7.965 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.7418, allocations: 103.4 kB / 1.571 GB, free: 7.863 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.7444, allocations: 1.01 MB / 1.572 GB, free: 6.84 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.7444, allocations: 12 kB / 1.572 GB, free: 6.828 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7444, allocations: 0 / 1.572 GB, free: 6.828 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.7444, allocations: 11.86 kB / 1.572 GB, free: 6.816 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005901/0.7503, allocations: 2.938 MB / 1.575 GB, free: 3.734 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.7503, allocations: 8 kB / 1.575 GB, free: 3.727 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.751, allocations: 128 kB / 1.575 GB, free: 3.602 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.751, allocations: 8 kB / 1.575 GB, free: 3.594 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.751, allocations: 24 kB / 1.575 GB, free: 3.57 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/0.7511, allocations: 15.92 kB / 1.575 GB, free: 3.555 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.7511, allocations: 11.94 kB / 1.575 GB, free: 3.543 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.7537, allocations: 1.367 MB / 1.577 GB, free: 2.055 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007859/0.7545, allocations: 219.1 kB / 1.577 GB, free: 1.84 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.7547, allocations: 24 kB / 1.577 GB, free: 1.816 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.7558, allocations: 107.8 kB / 1.577 GB, free: 1.711 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.756, allocations: 59.75 kB / 1.577 GB, free: 1.652 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.764e-05/0.7561, allocations: 39.97 kB / 1.577 GB, free: 1.613 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001356/0.7574, allocations: 0.6356 MB / 1.578 GB, free: 0.9805 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7574, allocations: 0 / 1.578 GB, free: 0.9805 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001265/0.7587, allocations: 335.2 kB / 1.578 GB, free: 0.6523 MB / 1.264 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.0006974/0.7594, allocations: 321.9 kB / 1.578 GB, free: 340 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.7623, allocations: 1.038 MB / 1.579 GB, free: 15.27 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.7623, allocations: 4 kB / 1.579 GB, free: 15.26 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.7634, allocations: 0.5025 MB / 1.58 GB, free: 14.74 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.7657, allocations: 387.8 kB / 1.58 GB, free: 14.38 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.7703, allocations: 2.037 MB / 1.582 GB, free: 12.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.771, allocations: 481.6 kB / 1.583 GB, free: 11.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001026/0.772, allocations: 237.5 kB / 1.583 GB, free: 11.46 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.7723, allocations: 71.41 kB / 1.583 GB, free: 11.39 MB / 1.279 GB Notification: Performance of SimCode: time 1.383e-06/0.7723, allocations: 0 / 1.583 GB, free: 11.39 MB / 1.279 GB Notification: Performance of Templates: time 0.03558/0.8079, allocations: 19.36 MB / 1.602 GB, free: 8.375 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.27824260480702]