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.001882/0.001882, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.003446/0.003446, allocations: 166.6 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.87/2.87, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.358e-05, allocations: 6.281 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9337/0.9338, allocations: 171.7 MB / 1.149 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.9456, allocations: 6.593 MB / 1.156 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.9481, allocations: 65 kB / 1.156 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.9503, allocations: 0.6907 MB / 1.156 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008053/0.9583, allocations: 2.477 MB / 1.159 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004476/0.9628, allocations: 1.527 MB / 1.16 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005251/0.9681, allocations: 3.005 MB / 1.163 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.9696, allocations: 0.7015 MB / 1.164 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005042/0.9746, allocations: 1.956 MB / 1.166 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.9762, allocations: 0.7237 MB / 1.166 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.9764, allocations: 99.53 kB / 1.167 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/0.9802, allocations: 1.678 MB / 1.168 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.9807, allocations: 390.3 kB / 1.169 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006934/0.9814, allocations: 397.6 kB / 1.169 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004725/0.9861, allocations: 2.448 MB / 1.171 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.9861, allocations: 1.188 kB / 1.171 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9861, allocations: 0 / 1.171 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.573e-05/0.9861, allocations: 0 / 1.171 GB, free: 4.172 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.003539/0.9897, allocations: 1.583 MB / 1.173 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.9897, allocations: 13.05 kB / 1.173 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.9929, allocations: 0.5391 MB / 1.173 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.9954, allocations: 0.975 MB / 1.174 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.9954, allocations: 56.06 kB / 1.174 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.9956, allocations: 66.78 kB / 1.174 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.9981, allocations: 1.232 MB / 1.176 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.9982, allocations: 8.812 kB / 1.176 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/0.9982, allocations: 29.28 kB / 1.176 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.9983, allocations: 29.8 kB / 1.176 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/1.001, allocations: 1.191 MB / 1.177 GB, free: 1.484 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.005773/1.007, allocations: 2.713 MB / 1.18 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/1.009, allocations: 0.6803 MB / 1.18 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009275/1.01, allocations: 421.9 kB / 1.181 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/1.011, allocations: 126.1 kB / 1.181 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/1.012, allocations: 0.6485 MB / 1.181 GB, free: 15.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.455e-06/1.012, allocations: 4 kB / 1.181 GB, free: 15.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.003498/1.015, allocations: 1.264 MB / 1.183 GB, free: 14.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002161/1.016, allocations: 142.3 kB / 1.183 GB, free: 14.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.017, allocations: 0.886 MB / 1.184 GB, free: 14.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/1.017, allocations: 40.55 kB / 1.184 GB, free: 14.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/1.018, allocations: 464.8 kB / 1.184 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/1.018, allocations: 195.4 kB / 1.184 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/1.018, allocations: 149.6 kB / 1.184 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002369/1.019, allocations: 326.2 kB / 1.185 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.02, allocations: 471.2 kB / 1.185 GB, free: 12.99 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/1.022, allocations: 0.9801 MB / 1.186 GB, free: 12.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/1.024, allocations: 0.9376 MB / 1.187 GB, free: 11.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.024, allocations: 1.688 kB / 1.187 GB, free: 11.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003625/1.028, allocations: 1.217 MB / 1.188 GB, free: 11.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/1.028, allocations: 40.59 kB / 1.188 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.028, allocations: 2.688 kB / 1.188 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.028, allocations: 8.547 kB / 1.188 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.029, allocations: 190.2 kB / 1.188 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.029, allocations: 9.781 kB / 1.188 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.031, allocations: 210 kB / 1.189 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.031, allocations: 32.95 kB / 1.189 GB, free: 11.2 MB / 1.014 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.0006717/1.032, allocations: 331.6 kB / 1.189 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/1.032, allocations: 96.08 kB / 1.189 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/1.034, allocations: 1.02 MB / 1.19 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/1.034, allocations: 5.375 kB / 1.19 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.034, allocations: 2.438 kB / 1.19 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.034, allocations: 2.156 kB / 1.19 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005396/1.04, allocations: 2.93 MB / 1.193 GB, free: 8.574 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.04, allocations: 8.469 kB / 1.193 GB, free: 8.574 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/1.041, allocations: 121.2 kB / 1.193 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.041, allocations: 11.8 kB / 1.193 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/1.041, allocations: 29.89 kB / 1.193 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-05/1.041, allocations: 19.09 kB / 1.193 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.041, allocations: 11.75 kB / 1.193 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/1.043, allocations: 1.345 MB / 1.194 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/1.044, allocations: 225.9 kB / 1.195 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.044, allocations: 26.17 kB / 1.195 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.045, allocations: 108.2 kB / 1.195 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.045, allocations: 54.03 kB / 1.195 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/1.045, allocations: 39.44 kB / 1.195 GB, free: 7.277 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001271/1.047, allocations: 0.6416 MB / 1.196 GB, free: 6.926 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.047, allocations: 0 / 1.196 GB, free: 6.926 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001366/1.048, allocations: 321.9 kB / 1.196 GB, free: 6.855 MB / 1.014 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.0008042/1.049, allocations: 354.3 kB / 1.196 GB, free: 6.656 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002708/1.051, allocations: 1.039 MB / 1.197 GB, free: 6.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.051, allocations: 6.969 kB / 1.197 GB, free: 6.086 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.052, allocations: 0.509 MB / 1.198 GB, free: 5.781 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.055, allocations: 378.2 kB / 1.198 GB, free: 5.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/1.059, allocations: 2.019 MB / 1.2 GB, free: 4.215 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/1.06, allocations: 488 kB / 1.201 GB, free: 3.938 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001016/1.061, allocations: 242.3 kB / 1.201 GB, free: 3.828 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/1.061, allocations: 70.66 kB / 1.201 GB, free: 3.809 MB / 1.014 GB Notification: Performance of SimCode: time 1.172e-06/1.061, allocations: 0 / 1.201 GB, free: 3.809 MB / 1.014 GB Notification: Performance of Templates: time 0.033/1.094, allocations: 17.84 MB / 1.218 GB, free: 10.7 MB / 1.029 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 -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/jenkins/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: 9.875206485390663]