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.002277/0.002277, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002739/0.002739, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 3.395/3.395, allocations: 429.4 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.993e-06/1.993e-06, allocations: 0 / 0.8775 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.799e-05, allocations: 4.703 kB / 0.8775 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7656/0.7656, allocations: 191.1 MB / 1.064 GB, free: 47.79 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.7758, allocations: 7.007 MB / 1.071 GB, free: 47.67 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.7775, allocations: 61.12 kB / 1.071 GB, free: 47.67 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.7795, allocations: 0.6991 MB / 1.072 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00616/0.7857, allocations: 2.445 MB / 1.074 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.789, allocations: 1.494 MB / 1.075 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004022/0.7931, allocations: 2.915 MB / 1.078 GB, free: 47.42 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.7944, allocations: 0.6805 MB / 1.079 GB, free: 47.38 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.7991, allocations: 1.944 MB / 1.081 GB, free: 47.18 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.8008, allocations: 0.7273 MB / 1.082 GB, free: 47.09 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.8011, allocations: 97.28 kB / 1.082 GB, free: 47.09 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.8045, allocations: 1.681 MB / 1.083 GB, free: 46.94 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.8048, allocations: 397.1 kB / 1.084 GB, free: 46.88 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.8054, allocations: 397.6 kB / 1.084 GB, free: 46.83 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.8087, allocations: 2.438 MB / 1.086 GB, free: 46.62 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8087, allocations: 0 / 1.086 GB, free: 46.62 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8087, allocations: 0.8438 kB / 1.086 GB, free: 46.62 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.8087, allocations: 2.312 kB / 1.086 GB, free: 46.62 MB / 1.01 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.002984/0.8117, allocations: 1.746 MB / 1.088 GB, free: 45.71 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.8117, allocations: 10.53 kB / 1.088 GB, free: 45.71 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.8141, allocations: 0.5118 MB / 1.089 GB, free: 45.63 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.816, allocations: 0.9702 MB / 1.09 GB, free: 45.36 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.816, allocations: 55.66 kB / 1.09 GB, free: 45.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.8162, allocations: 70.89 kB / 1.09 GB, free: 45.36 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.818, allocations: 1.086 MB / 1.091 GB, free: 45.07 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.818, allocations: 0 / 1.091 GB, free: 45.07 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.8181, allocations: 25.06 kB / 1.091 GB, free: 45.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.8181, allocations: 41.03 kB / 1.091 GB, free: 45.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.8202, allocations: 0.8349 MB / 1.092 GB, free: 45.03 MB / 1.01 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.005021/0.8252, allocations: 3.17 MB / 1.095 GB, free: 43.86 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.8265, allocations: 0.4985 MB / 1.095 GB, free: 43.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.8271, allocations: 275.2 kB / 1.096 GB, free: 43.74 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004976/0.8276, allocations: 133.4 kB / 1.096 GB, free: 43.74 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008779/0.8285, allocations: 0.5648 MB / 1.096 GB, free: 43.46 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 2.134e-06/0.8285, allocations: 0.875 kB / 1.096 GB, free: 43.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.002459/0.831, allocations: 0.9034 MB / 1.097 GB, free: 43.27 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.831, allocations: 143.5 kB / 1.097 GB, free: 43.12 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.8325, allocations: 1.033 MB / 1.098 GB, free: 42.92 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.8325, allocations: 42.58 kB / 1.098 GB, free: 42.89 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.8329, allocations: 0.5402 MB / 1.099 GB, free: 42.64 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.8331, allocations: 214.2 kB / 1.099 GB, free: 42.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/0.8334, allocations: 168.9 kB / 1.099 GB, free: 42.49 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8335, allocations: 0.5278 MB / 1.1 GB, free: 42.01 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.8343, allocations: 305.6 kB / 1.1 GB, free: 41.98 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.8354, allocations: 0.8699 MB / 1.101 GB, free: 41.31 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.837, allocations: 0.7054 MB / 1.102 GB, free: 41.07 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.837, allocations: 2.125 kB / 1.102 GB, free: 41.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002471/0.8394, allocations: 0.9063 MB / 1.102 GB, free: 40.92 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.8395, allocations: 38.05 kB / 1.102 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.8395, allocations: 7.234 kB / 1.102 GB, free: 40.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.8395, allocations: 6.719 kB / 1.102 GB, free: 40.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.8403, allocations: 158 kB / 1.103 GB, free: 40.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.8403, allocations: 11.17 kB / 1.103 GB, free: 40.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8415, allocations: 136.9 kB / 1.103 GB, free: 40.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.8416, allocations: 39.2 kB / 1.103 GB, free: 40.86 MB / 1.01 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.0005304/0.8421, allocations: 327.6 kB / 1.103 GB, free: 40.66 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.8423, allocations: 116.5 kB / 1.103 GB, free: 40.61 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.8441, allocations: 0.7327 MB / 1.104 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.8441, allocations: 12.22 kB / 1.104 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8441, allocations: 1.188 kB / 1.104 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.8441, allocations: 4.25 kB / 1.104 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/0.8485, allocations: 2.572 MB / 1.106 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.8485, allocations: 8.125 kB / 1.106 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.8491, allocations: 109.8 kB / 1.107 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.8491, allocations: 11.91 kB / 1.107 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.8492, allocations: 27.91 kB / 1.107 GB, free: 39.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-05/0.8492, allocations: 15.58 kB / 1.107 GB, free: 39.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.8492, allocations: 12.09 kB / 1.107 GB, free: 39.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.8511, allocations: 1.273 MB / 1.108 GB, free: 38.71 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/0.8517, allocations: 229.2 kB / 1.108 GB, free: 38.65 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.8518, allocations: 25.64 kB / 1.108 GB, free: 38.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.8527, allocations: 67.2 kB / 1.108 GB, free: 38.64 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.8528, allocations: 56.97 kB / 1.108 GB, free: 38.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-05/0.8529, allocations: 39.81 kB / 1.108 GB, free: 38.64 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001137/0.854, allocations: 0.6739 MB / 1.109 GB, free: 38.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.854, allocations: 0 / 1.109 GB, free: 38.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00128/0.8553, allocations: 325.3 kB / 1.109 GB, free: 38.46 MB / 1.01 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.0006635/0.856, allocations: 346.7 kB / 1.11 GB, free: 38.34 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.8581, allocations: 0.7849 MB / 1.11 GB, free: 38.19 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.8581, allocations: 2.562 kB / 1.11 GB, free: 38.19 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.8589, allocations: 418.6 kB / 1.111 GB, free: 38.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.8609, allocations: 374 kB / 1.111 GB, free: 38.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.8644, allocations: 1.939 MB / 1.113 GB, free: 36.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.865, allocations: 464.2 kB / 1.113 GB, free: 36.88 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009572/0.8659, allocations: 205.1 kB / 1.114 GB, free: 36.86 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.8662, allocations: 69.11 kB / 1.114 GB, free: 36.85 MB / 1.01 GB Notification: Performance of SimCode: time 1.733e-06/0.8662, allocations: 0 / 1.114 GB, free: 36.85 MB / 1.01 GB Notification: Performance of Templates: time 0.03249/0.8987, allocations: 17.31 MB / 1.131 GB, free: 34.78 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] 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: 10.020926098106429]