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.001675/0.001675, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001821/0.001821, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.801 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.512/3.512, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.002746/0.002746, allocations: 68.19 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5712/0.574, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2571/0.8311, allocations: 171.9 MB / 1.493 GB, free: 5.289 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.8444, allocations: 6.565 MB / 1.5 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.8468, allocations: 63.38 kB / 1.5 GB, free: 14.65 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.8494, allocations: 0.6987 MB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008298/0.8577, allocations: 2.409 MB / 1.503 GB, free: 11.53 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.8621, allocations: 1.453 MB / 1.504 GB, free: 10.09 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005536/0.8676, allocations: 3.015 MB / 1.507 GB, free: 7.07 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.8692, allocations: 0.701 MB / 1.508 GB, free: 6.355 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.8742, allocations: 1.629 MB / 1.51 GB, free: 4.727 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.8762, allocations: 0.8053 MB / 1.51 GB, free: 3.922 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.8765, allocations: 100 kB / 1.51 GB, free: 3.824 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.8806, allocations: 1.664 MB / 1.512 GB, free: 2.156 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.8812, allocations: 370.7 kB / 1.512 GB, free: 1.793 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008076/0.882, allocations: 481.7 kB / 1.513 GB, free: 1.32 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.8871, allocations: 2.344 MB / 1.515 GB, free: 14.97 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8871, allocations: 0 / 1.515 GB, free: 14.97 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8871, allocations: 0 / 1.515 GB, free: 14.97 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.8872, allocations: 0 / 1.515 GB, free: 14.97 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.003848/0.891, allocations: 1.594 MB / 1.517 GB, free: 13.33 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.8911, allocations: 15.97 kB / 1.517 GB, free: 13.32 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.8941, allocations: 0.5377 MB / 1.517 GB, free: 12.78 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.8968, allocations: 0.9691 MB / 1.518 GB, free: 11.78 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/0.8968, allocations: 53.3 kB / 1.518 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.897, allocations: 75.94 kB / 1.518 GB, free: 11.65 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.8998, allocations: 1.23 MB / 1.52 GB, free: 10.36 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.8998, allocations: 3.938 kB / 1.52 GB, free: 10.36 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/0.8999, allocations: 31.98 kB / 1.52 GB, free: 10.33 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.8999, allocations: 29.31 kB / 1.52 GB, free: 10.3 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/0.9032, allocations: 1.197 MB / 1.521 GB, free: 9.098 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.006263/0.9095, allocations: 2.698 MB / 1.523 GB, free: 6.344 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.9114, allocations: 0.6818 MB / 1.524 GB, free: 5.645 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008837/0.9123, allocations: 423.8 kB / 1.524 GB, free: 5.223 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/0.9128, allocations: 132.3 kB / 1.525 GB, free: 5.094 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.9141, allocations: 0.6472 MB / 1.525 GB, free: 4.391 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 3.236e-06/0.9141, allocations: 0 / 1.525 GB, free: 4.391 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.003351/0.9174, allocations: 1.268 MB / 1.526 GB, free: 3.102 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.9175, allocations: 144.9 kB / 1.527 GB, free: 2.93 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.9193, allocations: 0.8799 MB / 1.527 GB, free: 2.035 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.9195, allocations: 41.69 kB / 1.528 GB, free: 1.988 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.92, allocations: 468.5 kB / 1.528 GB, free: 1.523 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.9202, allocations: 198.3 kB / 1.528 GB, free: 1.328 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.9205, allocations: 146.2 kB / 1.528 GB, free: 1.176 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.9206, allocations: 329.9 kB / 1.529 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.9219, allocations: 474.7 kB / 1.529 GB, free: 388 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.9237, allocations: 0.9784 MB / 1.53 GB, free: 15.26 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.9259, allocations: 0.9332 MB / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.9259, allocations: 0 / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003327/0.9292, allocations: 1.214 MB / 1.532 GB, free: 13.03 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.9293, allocations: 43.56 kB / 1.532 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9293, allocations: 4 kB / 1.532 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.9293, allocations: 8 kB / 1.532 GB, free: 12.97 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.9303, allocations: 191.9 kB / 1.532 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.9303, allocations: 4 kB / 1.532 GB, free: 12.78 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.9317, allocations: 215.4 kB / 1.533 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.9318, allocations: 35.98 kB / 1.533 GB, free: 12.54 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.0005965/0.9324, allocations: 335.3 kB / 1.533 GB, free: 12.19 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.9326, allocations: 95.39 kB / 1.533 GB, free: 12.1 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.9349, allocations: 1.015 MB / 1.534 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.9349, allocations: 7.984 kB / 1.534 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.9349, allocations: 0 / 1.534 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.9349, allocations: 7.938 kB / 1.534 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005274/0.9402, allocations: 2.93 MB / 1.537 GB, free: 7.984 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.9402, allocations: 8 kB / 1.537 GB, free: 7.977 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.9408, allocations: 124 kB / 1.537 GB, free: 7.855 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.9409, allocations: 8 kB / 1.537 GB, free: 7.848 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.9409, allocations: 27.98 kB / 1.537 GB, free: 7.82 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.9409, allocations: 15.92 kB / 1.537 GB, free: 7.805 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.9409, allocations: 12 kB / 1.537 GB, free: 7.793 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.9434, allocations: 1.364 MB / 1.538 GB, free: 6.301 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.944, allocations: 223.1 kB / 1.539 GB, free: 6.082 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.9442, allocations: 23.98 kB / 1.539 GB, free: 6.059 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.9452, allocations: 95.91 kB / 1.539 GB, free: 5.965 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.9454, allocations: 79.52 kB / 1.539 GB, free: 5.887 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/0.9454, allocations: 39.97 kB / 1.539 GB, free: 5.848 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001274/0.9467, allocations: 0.6356 MB / 1.539 GB, free: 5.215 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9467, allocations: 3.938 kB / 1.539 GB, free: 5.211 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001276/0.948, allocations: 327.3 kB / 1.54 GB, free: 4.891 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.0006749/0.9487, allocations: 326.2 kB / 1.54 GB, free: 4.566 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.9513, allocations: 1.046 MB / 1.541 GB, free: 3.496 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9513, allocations: 3.938 kB / 1.541 GB, free: 3.492 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.9523, allocations: 0.5064 MB / 1.542 GB, free: 2.969 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.9544, allocations: 383.8 kB / 1.542 GB, free: 2.605 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.9585, allocations: 2.029 MB / 1.544 GB, free: 448 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/0.9591, allocations: 485.6 kB / 1.544 GB, free: 15.93 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009914/0.9601, allocations: 239.3 kB / 1.545 GB, free: 15.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.9604, allocations: 79.33 kB / 1.545 GB, free: 15.62 MB / 1.248 GB Notification: Performance of SimCode: time 1.423e-06/0.9604, allocations: 0 / 1.545 GB, free: 15.62 MB / 1.248 GB Notification: Performance of Templates: time 0.03558/0.996, allocations: 19.34 MB / 1.564 GB, free: 12.62 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 -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: 10.997015906497836]