Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00156/0.00156, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001957/0.001957, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002093/0.002093, allocations: 79.78 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.425, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2338/0.6587, allocations: 171.9 MB / 1.495 GB, free: 4.391 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.6714, allocations: 6.56 MB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.6737, allocations: 67.31 kB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.6759, allocations: 0.6909 MB / 1.502 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.6836, allocations: 2.416 MB / 1.504 GB, free: 10.63 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.688, allocations: 1.472 MB / 1.506 GB, free: 9.176 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00556/0.6936, allocations: 3.03 MB / 1.509 GB, free: 6.137 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.6952, allocations: 0.7127 MB / 1.51 GB, free: 5.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.7005, allocations: 1.643 MB / 1.511 GB, free: 3.766 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.7025, allocations: 0.8372 MB / 1.512 GB, free: 2.934 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.7028, allocations: 100 kB / 1.512 GB, free: 2.836 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.7072, allocations: 1.687 MB / 1.514 GB, free: 1.145 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005451/0.7078, allocations: 382.7 kB / 1.514 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007976/0.7085, allocations: 473.7 kB / 1.515 GB, free: 312 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005262/0.7138, allocations: 2.344 MB / 1.517 GB, free: 13.95 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.7138, allocations: 0 / 1.517 GB, free: 13.95 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7138, allocations: 4 kB / 1.517 GB, free: 13.95 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.785e-05/0.7138, allocations: 4 kB / 1.517 GB, free: 13.95 MB / 1.217 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.004259/0.7181, allocations: 1.59 MB / 1.518 GB, free: 12.31 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.7181, allocations: 8.031 kB / 1.518 GB, free: 12.3 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.7214, allocations: 0.5377 MB / 1.519 GB, free: 11.77 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.7241, allocations: 0.9741 MB / 1.52 GB, free: 10.76 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.7242, allocations: 53.31 kB / 1.52 GB, free: 10.71 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.7243, allocations: 68 kB / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.727, allocations: 1.238 MB / 1.521 GB, free: 9.344 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.727, allocations: 7.938 kB / 1.521 GB, free: 9.336 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.7272, allocations: 24 kB / 1.521 GB, free: 9.312 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/0.7272, allocations: 37.3 kB / 1.521 GB, free: 9.277 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.7303, allocations: 1.193 MB / 1.522 GB, free: 8.078 MB / 1.217 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.006132/0.7364, allocations: 2.706 MB / 1.525 GB, free: 5.316 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.7382, allocations: 0.6779 MB / 1.526 GB, free: 4.621 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008663/0.7391, allocations: 429.2 kB / 1.526 GB, free: 4.195 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/0.7397, allocations: 132.3 kB / 1.526 GB, free: 4.066 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.7409, allocations: 0.6433 MB / 1.527 GB, free: 3.367 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 3.246e-06/0.7409, allocations: 0 / 1.527 GB, free: 3.367 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.003201/0.7441, allocations: 1.264 MB / 1.528 GB, free: 2.082 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7442, allocations: 144.9 kB / 1.528 GB, free: 1.91 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.7458, allocations: 0.88 MB / 1.529 GB, free: 1.016 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.746, allocations: 41.64 kB / 1.529 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/0.7465, allocations: 464.5 kB / 1.53 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.7467, allocations: 202.3 kB / 1.53 GB, free: 316 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.747, allocations: 142.2 kB / 1.53 GB, free: 164 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.7472, allocations: 333.9 kB / 1.53 GB, free: 15.83 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.7485, allocations: 470.7 kB / 1.531 GB, free: 15.36 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.7502, allocations: 0.9862 MB / 1.532 GB, free: 14.23 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.7522, allocations: 0.9254 MB / 1.533 GB, free: 13.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.7523, allocations: 0 / 1.533 GB, free: 13.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003213/0.7555, allocations: 1.215 MB / 1.534 GB, free: 12.02 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.7555, allocations: 41.62 kB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.7555, allocations: 8.281 kB / 1.534 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.7556, allocations: 8.094 kB / 1.534 GB, free: 11.95 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/0.7565, allocations: 183.8 kB / 1.534 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.7565, allocations: 11.94 kB / 1.534 GB, free: 11.76 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.758, allocations: 219.4 kB / 1.534 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.7581, allocations: 31.98 kB / 1.534 GB, free: 11.52 MB / 1.232 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.0006175/0.7588, allocations: 331.3 kB / 1.535 GB, free: 11.18 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.759, allocations: 99.39 kB / 1.535 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.7612, allocations: 1.01 MB / 1.536 GB, free: 10.06 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.7612, allocations: 11.98 kB / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.7612, allocations: 8 kB / 1.536 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.7612, allocations: 11.88 kB / 1.536 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.7663, allocations: 2.928 MB / 1.539 GB, free: 6.957 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.7663, allocations: 8 kB / 1.539 GB, free: 6.949 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.767, allocations: 119.8 kB / 1.539 GB, free: 6.832 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.767, allocations: 8 kB / 1.539 GB, free: 6.824 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.767, allocations: 27.98 kB / 1.539 GB, free: 6.797 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.7671, allocations: 16.03 kB / 1.539 GB, free: 6.781 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.7671, allocations: 8 kB / 1.539 GB, free: 6.773 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.7695, allocations: 1.367 MB / 1.54 GB, free: 5.277 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/0.7701, allocations: 215.1 kB / 1.54 GB, free: 5.066 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.7703, allocations: 31.98 kB / 1.54 GB, free: 5.035 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.7714, allocations: 95.91 kB / 1.54 GB, free: 4.941 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.7715, allocations: 71.53 kB / 1.54 GB, free: 4.871 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/0.7716, allocations: 43.97 kB / 1.541 GB, free: 4.828 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001248/0.7728, allocations: 0.6317 MB / 1.541 GB, free: 4.199 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7728, allocations: 0 / 1.541 GB, free: 4.199 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001263/0.7741, allocations: 339.2 kB / 1.541 GB, free: 3.867 MB / 1.232 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.0006738/0.7748, allocations: 328.1 kB / 1.542 GB, free: 3.543 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00255/0.7773, allocations: 1.036 MB / 1.543 GB, free: 2.48 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.7773, allocations: 7.984 kB / 1.543 GB, free: 2.473 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.7784, allocations: 0.5102 MB / 1.543 GB, free: 1.945 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.7804, allocations: 378.2 kB / 1.544 GB, free: 1.59 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.7843, allocations: 2.036 MB / 1.546 GB, free: 15.41 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.7849, allocations: 489.6 kB / 1.546 GB, free: 14.9 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001/0.7859, allocations: 237.5 kB / 1.546 GB, free: 14.67 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.7862, allocations: 67.41 kB / 1.546 GB, free: 14.61 MB / 1.248 GB Notification: Performance of SimCode: time 9.22e-07/0.7862, allocations: 3.938 kB / 1.546 GB, free: 14.6 MB / 1.248 GB Notification: Performance of Templates: time 0.03445/0.8206, allocations: 19.56 MB / 1.565 GB, free: 11.38 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.283955074002733]