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.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.001392/0.001392, allocations: 81.61 kB / 19.18 MB, free: 2.531 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.001594/0.001594, allocations: 167.7 kB / 22.46 MB, free: 5.355 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.704/2.704, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.147e-06/4.147e-06, allocations: 4 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.975e-05, allocations: 4.109 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.8825/0.8825, allocations: 171.6 MB / 1.119 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.8934, allocations: 6.576 MB / 1.125 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.8954, allocations: 65.12 kB / 1.125 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.8975, allocations: 0.6967 MB / 1.126 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007932/0.9055, allocations: 2.474 MB / 1.128 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.9098, allocations: 1.535 MB / 1.13 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005244/0.9151, allocations: 3.005 MB / 1.133 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.9172, allocations: 0.7014 MB / 1.133 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005387/0.9226, allocations: 1.497 MB / 1.135 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.9249, allocations: 0.7373 MB / 1.135 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005744/0.9255, allocations: 99.41 kB / 1.136 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/0.9308, allocations: 1.715 MB / 1.137 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000908/0.9317, allocations: 389.8 kB / 1.138 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.9332, allocations: 401.8 kB / 1.138 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007407/0.9406, allocations: 2.452 MB / 1.14 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9407, allocations: 0 / 1.14 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9407, allocations: 1.094 kB / 1.14 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.825e-05/0.9407, allocations: 0 / 1.14 GB, free: 11.25 MB / 0.9981 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.005699/0.9464, allocations: 1.581 MB / 1.142 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.9465, allocations: 10.75 kB / 1.142 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.95, allocations: 0.5373 MB / 1.142 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.9528, allocations: 0.9691 MB / 1.143 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.9529, allocations: 62.89 kB / 1.143 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.9532, allocations: 68.59 kB / 1.144 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.956, allocations: 1.238 MB / 1.145 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.9561, allocations: 0.8125 kB / 1.145 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.9562, allocations: 27.12 kB / 1.145 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.9562, allocations: 31.3 kB / 1.145 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/0.9594, allocations: 1.191 MB / 1.146 GB, free: 9.773 MB / 0.9981 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.006012/0.9654, allocations: 2.699 MB / 1.149 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.9672, allocations: 0.6739 MB / 1.149 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.968, allocations: 430.5 kB / 1.15 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.9685, allocations: 132.9 kB / 1.15 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.9696, allocations: 0.6476 MB / 1.15 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=57): time 2.716e-06/0.9696, allocations: 1.344 kB / 1.15 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57): time 0.003187/0.9728, allocations: 1.274 MB / 1.152 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.9728, allocations: 137.3 kB / 1.152 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.9746, allocations: 0.8902 MB / 1.153 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.9747, allocations: 37.61 kB / 1.153 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.975, allocations: 459.3 kB / 1.153 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.9752, allocations: 193.4 kB / 1.153 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.9755, allocations: 150.8 kB / 1.153 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.9755, allocations: 331.4 kB / 1.154 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.9768, allocations: 471.8 kB / 1.154 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.9783, allocations: 0.9781 MB / 1.155 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.9804, allocations: 0.9321 MB / 1.156 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9804, allocations: 4.125 kB / 1.156 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003347/0.9837, allocations: 1.215 MB / 1.157 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.9838, allocations: 44.52 kB / 1.157 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.9838, allocations: 7.094 kB / 1.157 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.9838, allocations: 6.344 kB / 1.157 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.9848, allocations: 191.5 kB / 1.158 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.9848, allocations: 6.344 kB / 1.158 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.9864, allocations: 215.5 kB / 1.158 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.9865, allocations: 36.67 kB / 1.158 GB, free: 6.375 MB / 0.9981 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.0005873/0.9871, allocations: 328.4 kB / 1.158 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.9874, allocations: 97.42 kB / 1.158 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.9897, allocations: 1.018 MB / 1.159 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.9897, allocations: 6.656 kB / 1.159 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9897, allocations: 1.281 kB / 1.159 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.9897, allocations: 3.578 kB / 1.159 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/0.9947, allocations: 2.929 MB / 1.162 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.9948, allocations: 8.406 kB / 1.162 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/0.9954, allocations: 119.7 kB / 1.162 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.9954, allocations: 14.06 kB / 1.162 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.9955, allocations: 28.47 kB / 1.162 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.9955, allocations: 17.64 kB / 1.162 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.9955, allocations: 11.88 kB / 1.162 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.9978, allocations: 1.347 MB / 1.164 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/0.9985, allocations: 219.8 kB / 1.164 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.9987, allocations: 27.25 kB / 1.164 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.9998, allocations: 98.45 kB / 1.164 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.9999, allocations: 73.14 kB / 1.164 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/1, allocations: 39.92 kB / 1.164 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001197/1.001, allocations: 0.6367 MB / 1.165 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.001, allocations: 0 / 1.165 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001378/1.003, allocations: 324 kB / 1.165 GB, free: 4.469 MB / 0.9981 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.0007026/1.003, allocations: 347.7 kB / 1.165 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002602/1.006, allocations: 1.04 MB / 1.166 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.006, allocations: 5.75 kB / 1.166 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009096/1.007, allocations: 0.5135 MB / 1.167 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/1.009, allocations: 376.7 kB / 1.167 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/1.014, allocations: 2.015 MB / 1.169 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/1.014, allocations: 486.1 kB / 1.17 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008984/1.015, allocations: 243.8 kB / 1.17 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/1.015, allocations: 63.27 kB / 1.17 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.015, allocations: 0 / 1.17 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.02748/1.043, allocations: 17.85 MB / 1.187 GB, free: 14.72 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.458598423749208]