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.001381/0.001381, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00085/0.00085, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.893/0.893, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.699/1.699, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.603e-06/1.603e-06, allocations: 0 / 0.9822 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.119e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7118/0.7118, allocations: 171.7 MB / 1.15 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009445/0.7213, allocations: 6.589 MB / 1.156 GB, free: 9.562 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.7223, allocations: 64.34 kB / 1.156 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.7239, allocations: 0.6971 MB / 1.157 GB, free: 8.938 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.7288, allocations: 2.47 MB / 1.159 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.7316, allocations: 1.521 MB / 1.161 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002967/0.7346, allocations: 3.008 MB / 1.164 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008043/0.7354, allocations: 0.7001 MB / 1.165 GB, free: 3.629 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003055/0.7385, allocations: 1.952 MB / 1.166 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007753/0.7392, allocations: 0.7138 MB / 1.167 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.7393, allocations: 99.38 kB / 1.167 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.7421, allocations: 1.685 MB / 1.169 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.7424, allocations: 396.2 kB / 1.169 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.7427, allocations: 396 kB / 1.17 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.7449, allocations: 2.449 MB / 1.172 GB, free: 14.48 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.7449, allocations: 0 / 1.172 GB, free: 14.48 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.973e-06/0.745, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.745, allocations: 0 / 1.172 GB, free: 14.47 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.002137/0.7471, allocations: 1.579 MB / 1.174 GB, free: 12.85 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7471, allocations: 8.031 kB / 1.174 GB, free: 12.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.7486, allocations: 0.5377 MB / 1.174 GB, free: 12.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.75, allocations: 0.9785 MB / 1.175 GB, free: 11.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.7501, allocations: 57.31 kB / 1.175 GB, free: 11.24 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.284e-05/0.7502, allocations: 68 kB / 1.175 GB, free: 11.17 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.7517, allocations: 1.234 MB / 1.176 GB, free: 9.879 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7517, allocations: 7.938 kB / 1.176 GB, free: 9.871 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.7518, allocations: 27.98 kB / 1.176 GB, free: 9.844 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.7518, allocations: 33.3 kB / 1.176 GB, free: 9.812 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.7535, allocations: 1.197 MB / 1.178 GB, free: 8.605 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.003239/0.7567, allocations: 2.706 MB / 1.18 GB, free: 5.844 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.7577, allocations: 0.6781 MB / 1.181 GB, free: 5.148 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.7582, allocations: 428.6 kB / 1.181 GB, free: 4.727 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.7585, allocations: 128.4 kB / 1.181 GB, free: 4.602 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006628/0.7592, allocations: 0.6438 MB / 1.182 GB, free: 3.902 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 1.793e-06/0.7592, allocations: 0 / 1.182 GB, free: 3.902 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.001691/0.7609, allocations: 1.265 MB / 1.183 GB, free: 2.617 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.7609, allocations: 144.9 kB / 1.183 GB, free: 2.445 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/0.7618, allocations: 0.88 MB / 1.184 GB, free: 1.559 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.7619, allocations: 37.7 kB / 1.184 GB, free: 1.516 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.7621, allocations: 468.5 kB / 1.185 GB, free: 1.051 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.7622, allocations: 194.3 kB / 1.185 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.7624, allocations: 146.2 kB / 1.185 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.7625, allocations: 337.9 kB / 1.185 GB, free: 384 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.7632, allocations: 466.7 kB / 1.186 GB, free: 15.91 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009818/0.7641, allocations: 0.9823 MB / 1.187 GB, free: 14.79 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.7653, allocations: 0.9377 MB / 1.188 GB, free: 13.8 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7653, allocations: 7.5 kB / 1.188 GB, free: 13.79 MB / 1.026 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001623/0.7669, allocations: 1.211 MB / 1.189 GB, free: 12.56 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.7669, allocations: 37.97 kB / 1.189 GB, free: 12.52 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7669, allocations: 8 kB / 1.189 GB, free: 12.51 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.767, allocations: 4 kB / 1.189 GB, free: 12.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.7674, allocations: 187.7 kB / 1.189 GB, free: 12.32 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.7674, allocations: 7.938 kB / 1.189 GB, free: 12.31 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.768, allocations: 226.8 kB / 1.189 GB, free: 12.09 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.7681, allocations: 31.98 kB / 1.189 GB, free: 12.06 MB / 1.026 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.000302/0.7684, allocations: 327.3 kB / 1.19 GB, free: 11.73 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.7685, allocations: 99.39 kB / 1.19 GB, free: 11.63 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.7697, allocations: 1.019 MB / 1.191 GB, free: 10.59 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7697, allocations: 12 kB / 1.191 GB, free: 10.58 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7697, allocations: 0 / 1.191 GB, free: 10.58 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.7697, allocations: 7.922 kB / 1.191 GB, free: 10.57 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.7727, allocations: 2.922 MB / 1.194 GB, free: 7.508 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.7727, allocations: 8 kB / 1.194 GB, free: 7.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.773, allocations: 115.8 kB / 1.194 GB, free: 7.387 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.773, allocations: 15.94 kB / 1.194 GB, free: 7.371 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.773, allocations: 28.05 kB / 1.194 GB, free: 7.344 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.773, allocations: 19.98 kB / 1.194 GB, free: 7.324 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.773, allocations: 11.94 kB / 1.194 GB, free: 7.312 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.7743, allocations: 1.333 MB / 1.195 GB, free: 5.848 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.7746, allocations: 227.1 kB / 1.195 GB, free: 5.625 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.7746, allocations: 31.92 kB / 1.195 GB, free: 5.594 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.7751, allocations: 95.91 kB / 1.196 GB, free: 5.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.7752, allocations: 67.59 kB / 1.196 GB, free: 5.434 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.7752, allocations: 40.78 kB / 1.196 GB, free: 5.395 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0006541/0.7759, allocations: 0.6434 MB / 1.196 GB, free: 4.758 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7759, allocations: 0 / 1.196 GB, free: 4.758 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007648/0.7766, allocations: 319.4 kB / 1.197 GB, free: 4.445 MB / 1.026 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.0005018/0.7771, allocations: 356.1 kB / 1.197 GB, free: 4.09 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.7785, allocations: 1.033 MB / 1.198 GB, free: 3.035 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.7785, allocations: 4 kB / 1.198 GB, free: 3.031 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.779, allocations: 0.5141 MB / 1.198 GB, free: 2.5 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.78, allocations: 387.2 kB / 1.199 GB, free: 2.133 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.7823, allocations: 2.06 MB / 1.201 GB, free: 15.93 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.7827, allocations: 473.6 kB / 1.201 GB, free: 15.44 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.7829, allocations: 84.45 kB / 1.201 GB, free: 15.36 MB / 1.042 GB Notification: Performance of SimCode: time 9.82e-07/0.7829, allocations: 0 / 1.201 GB, free: 15.36 MB / 1.042 GB Notification: Performance of Templates: time 0.01347/0.7963, allocations: 16.82 MB / 1.218 GB, free: 14.65 MB / 1.057 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.008045317605138]