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.001973/0.001973, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002819/0.002819, allocations: 215.1 kB / 23.04 MB, free: 4.867 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.165/3.165, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002062/0.002062, allocations: 61.2 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3858, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2197/0.6055, allocations: 172 MB / 1.495 GB, free: 4.344 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.6168, allocations: 6.562 MB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.6184, allocations: 63.44 kB / 1.502 GB, free: 13.71 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.6203, allocations: 0.6947 MB / 1.502 GB, free: 13.01 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00646/0.6268, allocations: 2.419 MB / 1.505 GB, free: 10.58 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.6308, allocations: 1.444 MB / 1.506 GB, free: 9.152 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005344/0.6361, allocations: 3.005 MB / 1.509 GB, free: 6.137 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.6377, allocations: 0.701 MB / 1.51 GB, free: 5.422 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/0.6422, allocations: 1.635 MB / 1.511 GB, free: 3.789 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.6444, allocations: 0.7954 MB / 1.512 GB, free: 2.996 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.6446, allocations: 96 kB / 1.512 GB, free: 2.902 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.6486, allocations: 1.668 MB / 1.514 GB, free: 1.23 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005581/0.6491, allocations: 370.7 kB / 1.514 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.6499, allocations: 489.6 kB / 1.515 GB, free: 396 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004638/0.6545, allocations: 2.34 MB / 1.517 GB, free: 14.04 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.6546, allocations: 0 / 1.517 GB, free: 14.04 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6546, allocations: 0 / 1.517 GB, free: 14.04 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.6546, allocations: 4 kB / 1.517 GB, free: 14.04 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.003786/0.6584, allocations: 1.592 MB / 1.518 GB, free: 12.4 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6584, allocations: 15.97 kB / 1.518 GB, free: 12.39 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/0.6613, allocations: 0.5455 MB / 1.519 GB, free: 11.84 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.6638, allocations: 0.9664 MB / 1.52 GB, free: 10.84 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.6638, allocations: 53.25 kB / 1.52 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.664, allocations: 68 kB / 1.52 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.6666, allocations: 1.238 MB / 1.521 GB, free: 9.426 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.6666, allocations: 7.875 kB / 1.521 GB, free: 9.418 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.6667, allocations: 24 kB / 1.521 GB, free: 9.395 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.6667, allocations: 37.3 kB / 1.521 GB, free: 9.359 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.6698, allocations: 1.182 MB / 1.522 GB, free: 8.172 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.005614/0.6754, allocations: 2.709 MB / 1.525 GB, free: 5.406 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.6772, allocations: 0.6818 MB / 1.526 GB, free: 4.707 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.678, allocations: 429 kB / 1.526 GB, free: 4.281 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/0.6784, allocations: 124.4 kB / 1.526 GB, free: 4.16 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.6796, allocations: 0.6511 MB / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 2.705e-06/0.6796, allocations: 0 / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.003114/0.6827, allocations: 1.264 MB / 1.528 GB, free: 2.168 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.6828, allocations: 136.9 kB / 1.528 GB, free: 2.004 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.6844, allocations: 0.8878 MB / 1.529 GB, free: 1.102 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.6845, allocations: 37.7 kB / 1.529 GB, free: 1.059 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.6849, allocations: 468.5 kB / 1.53 GB, free: 0.5938 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.6851, allocations: 194.4 kB / 1.53 GB, free: 412 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.6854, allocations: 142.2 kB / 1.53 GB, free: 260 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6855, allocations: 341.9 kB / 1.53 GB, free: 15.91 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.6868, allocations: 470.6 kB / 1.531 GB, free: 15.45 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.6885, allocations: 0.9784 MB / 1.532 GB, free: 14.33 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.6906, allocations: 0.9254 MB / 1.533 GB, free: 13.34 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6906, allocations: 4 kB / 1.533 GB, free: 13.34 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003164/0.6937, allocations: 1.214 MB / 1.534 GB, free: 12.11 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.6938, allocations: 39.09 kB / 1.534 GB, free: 12.06 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6938, allocations: 4.281 kB / 1.534 GB, free: 12.06 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.6938, allocations: 12 kB / 1.534 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.6947, allocations: 183.7 kB / 1.534 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.6948, allocations: 8 kB / 1.534 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.6961, allocations: 219.4 kB / 1.534 GB, free: 11.64 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.6962, allocations: 39.91 kB / 1.534 GB, free: 11.61 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.0005558/0.6968, allocations: 331.8 kB / 1.535 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.697, allocations: 95.39 kB / 1.535 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.6991, allocations: 1.021 MB / 1.536 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.6991, allocations: 8.047 kB / 1.536 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6991, allocations: 7.984 kB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.6991, allocations: 11.92 kB / 1.536 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.704, allocations: 2.918 MB / 1.539 GB, free: 7.051 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.704, allocations: 12.03 kB / 1.539 GB, free: 7.039 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.7046, allocations: 119.8 kB / 1.539 GB, free: 6.922 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.7046, allocations: 8 kB / 1.539 GB, free: 6.914 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.7047, allocations: 27.98 kB / 1.539 GB, free: 6.887 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.7047, allocations: 11.94 kB / 1.539 GB, free: 6.875 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.7047, allocations: 15.94 kB / 1.539 GB, free: 6.859 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.7071, allocations: 1.371 MB / 1.54 GB, free: 5.363 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.7076, allocations: 223.1 kB / 1.54 GB, free: 5.145 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.7077, allocations: 20 kB / 1.54 GB, free: 5.125 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/0.7087, allocations: 103.9 kB / 1.54 GB, free: 5.023 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7088, allocations: 63.61 kB / 1.54 GB, free: 4.961 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.7089, allocations: 43.97 kB / 1.54 GB, free: 4.918 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001186/0.7101, allocations: 0.6356 MB / 1.541 GB, free: 4.285 MB / 1.232 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7101, allocations: 0 / 1.541 GB, free: 4.285 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001187/0.7112, allocations: 331.3 kB / 1.541 GB, free: 3.961 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.0006394/0.7119, allocations: 327.6 kB / 1.542 GB, free: 3.641 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002496/0.7144, allocations: 1.044 MB / 1.543 GB, free: 2.57 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.7144, allocations: 0 / 1.543 GB, free: 2.57 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009797/0.7154, allocations: 0.5082 MB / 1.543 GB, free: 2.047 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.7174, allocations: 378.3 kB / 1.544 GB, free: 1.688 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.7213, allocations: 2.096 MB / 1.546 GB, free: 15.45 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.7219, allocations: 481.6 kB / 1.546 GB, free: 14.94 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.7222, allocations: 75.41 kB / 1.546 GB, free: 14.87 MB / 1.248 GB Notification: Performance of SimCode: time 6.92e-07/0.7222, allocations: 0 / 1.546 GB, free: 14.87 MB / 1.248 GB Notification: Performance of Templates: time 0.02628/0.7485, allocations: 16.78 MB / 1.563 GB, free: 14.19 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/jenkins1/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: 13.259654397843406]