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.001034/0.001034, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001121/0.001121, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8918/0.8918, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.765/1.765, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.191e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6672/0.6672, allocations: 171.6 MB / 1.169 GB, free: 8.727 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.6777, allocations: 6.531 MB / 1.175 GB, free: 4.266 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.6791, allocations: 60.94 kB / 1.175 GB, free: 4.23 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.6809, allocations: 0.6965 MB / 1.176 GB, free: 3.797 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.005895/0.6868, allocations: 2.453 MB / 1.178 GB, free: 2.473 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.6902, allocations: 1.495 MB / 1.179 GB, free: 1.715 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.004873/0.6951, allocations: 2.901 MB / 1.182 GB, free: 344 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.6964, allocations: 0.6638 MB / 1.183 GB, free: 16 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.7013, allocations: 1.916 MB / 1.185 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.7028, allocations: 0.7177 MB / 1.186 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.703, allocations: 99.47 kB / 1.186 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.7073, allocations: 1.681 MB / 1.187 GB, free: 14.32 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.7077, allocations: 393.3 kB / 1.188 GB, free: 14.11 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005676/0.7083, allocations: 391.5 kB / 1.188 GB, free: 13.95 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.003432/0.7117, allocations: 2.438 MB / 1.19 GB, free: 13.11 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7117, allocations: 1.062 kB / 1.19 GB, free: 13.11 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.916e-06/0.7117, allocations: 2.344 kB / 1.19 GB, free: 13.11 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.176e-05/0.7118, allocations: 0 / 1.19 GB, free: 13.11 MB / 1.042 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.003102/0.7149, allocations: 1.561 MB / 1.192 GB, free: 12.09 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.7149, allocations: 10.19 kB / 1.192 GB, free: 12.09 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.7166, allocations: 0.5449 MB / 1.192 GB, free: 11.99 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.7182, allocations: 0.9329 MB / 1.193 GB, free: 11.46 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.7183, allocations: 52.16 kB / 1.193 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.7184, allocations: 66.34 kB / 1.193 GB, free: 11.43 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.7201, allocations: 1.241 MB / 1.195 GB, free: 10.83 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.7201, allocations: 0.8438 kB / 1.195 GB, free: 10.83 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.7202, allocations: 30.75 kB / 1.195 GB, free: 10.81 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.7202, allocations: 33.14 kB / 1.195 GB, free: 10.8 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.7221, allocations: 1.196 MB / 1.196 GB, free: 10.4 MB / 1.042 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.00376/0.7259, allocations: 2.681 MB / 1.199 GB, free: 8.875 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.7271, allocations: 0.6883 MB / 1.199 GB, free: 8.586 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.7277, allocations: 420 kB / 1.2 GB, free: 8.422 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.728, allocations: 133.2 kB / 1.2 GB, free: 8.398 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007916/0.7288, allocations: 0.6405 MB / 1.2 GB, free: 7.941 MB / 1.042 GB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.7288, allocations: 3.938 kB / 1.2 GB, free: 7.938 MB / 1.042 GB Notification: Performance of matching and sorting (n=57): time 0.002016/0.7308, allocations: 1.27 MB / 1.202 GB, free: 7.262 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.7309, allocations: 145.2 kB / 1.202 GB, free: 7.098 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.7321, allocations: 0.8623 MB / 1.203 GB, free: 6.617 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/0.7321, allocations: 37.83 kB / 1.203 GB, free: 6.578 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.7324, allocations: 456.9 kB / 1.203 GB, free: 6.18 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.7326, allocations: 194.9 kB / 1.203 GB, free: 6.012 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.7328, allocations: 149.7 kB / 1.203 GB, free: 5.922 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7329, allocations: 332.9 kB / 1.204 GB, free: 5.598 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/0.7337, allocations: 474.5 kB / 1.204 GB, free: 5.355 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.7347, allocations: 0.9755 MB / 1.205 GB, free: 4.512 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.736, allocations: 0.9362 MB / 1.206 GB, free: 3.93 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.736, allocations: 0 / 1.206 GB, free: 3.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001668/0.7376, allocations: 1.212 MB / 1.207 GB, free: 3.305 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.7377, allocations: 41.91 kB / 1.207 GB, free: 3.266 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.7377, allocations: 5.469 kB / 1.207 GB, free: 3.266 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.7377, allocations: 5.875 kB / 1.207 GB, free: 3.266 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.7382, allocations: 186.6 kB / 1.207 GB, free: 3.211 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7382, allocations: 4.969 kB / 1.207 GB, free: 3.211 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.7388, allocations: 207.8 kB / 1.208 GB, free: 3.117 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.7389, allocations: 37.02 kB / 1.208 GB, free: 3.105 MB / 1.042 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.000327/0.7392, allocations: 342.1 kB / 1.208 GB, free: 2.836 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.7393, allocations: 94.98 kB / 1.208 GB, free: 2.785 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.7406, allocations: 1.009 MB / 1.209 GB, free: 2.203 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.7406, allocations: 8.938 kB / 1.209 GB, free: 2.203 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7406, allocations: 0 / 1.209 GB, free: 2.203 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.7406, allocations: 3.984 kB / 1.209 GB, free: 2.199 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.7436, allocations: 2.935 MB / 1.212 GB, free: 196 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.7436, allocations: 9.062 kB / 1.212 GB, free: 196 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.7439, allocations: 124.7 kB / 1.212 GB, free: 160 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.7439, allocations: 7.406 kB / 1.212 GB, free: 160 kB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.744, allocations: 28.77 kB / 1.212 GB, free: 148 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.744, allocations: 8.312 kB / 1.212 GB, free: 148 kB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.744, allocations: 19.88 kB / 1.212 GB, free: 136 kB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.7453, allocations: 1.349 MB / 1.213 GB, free: 15.15 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.7456, allocations: 225.9 kB / 1.214 GB, free: 14.99 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.7457, allocations: 28.39 kB / 1.214 GB, free: 14.98 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.7462, allocations: 99 kB / 1.214 GB, free: 14.94 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.7463, allocations: 70.38 kB / 1.214 GB, free: 14.89 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.7463, allocations: 43.34 kB / 1.214 GB, free: 14.88 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0006587/0.747, allocations: 0.6196 MB / 1.215 GB, free: 14.54 MB / 1.057 GB Notification: Performance of sort global known variables: time 9e-08/0.747, allocations: 0 / 1.215 GB, free: 14.54 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0009071/0.7479, allocations: 324.3 kB / 1.215 GB, free: 14.47 MB / 1.057 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.0005164/0.7484, allocations: 343.2 kB / 1.215 GB, free: 14.27 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.7498, allocations: 1.035 MB / 1.216 GB, free: 13.71 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7498, allocations: 0 / 1.216 GB, free: 13.71 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.7504, allocations: 0.5109 MB / 1.217 GB, free: 13.41 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.7514, allocations: 342.6 kB / 1.217 GB, free: 13.22 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.7539, allocations: 2.043 MB / 1.219 GB, free: 11.82 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.7543, allocations: 473 kB / 1.219 GB, free: 11.55 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.7545, allocations: 83.95 kB / 1.22 GB, free: 11.52 MB / 1.057 GB Notification: Performance of SimCode: time 1.543e-06/0.7545, allocations: 0 / 1.22 GB, free: 11.52 MB / 1.057 GB Notification: Performance of Templates: time 0.01559/0.7701, allocations: 16.39 MB / 1.236 GB, free: 11.47 MB / 1.073 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: 8.360061989165843]