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.001496/0.001496, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001645/0.001645, allocations: 215.4 kB / 23.01 MB, free: 4.566 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 8.012 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 2.928/2.928, allocations: 0.49 GB / 0.7958 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.001902/0.001902, allocations: 72.78 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3012, allocations: 176.1 MB / 1.327 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2093/0.5106, allocations: 198.2 MB / 1.521 GB, free: 10.48 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.5206, allocations: 6.972 MB / 1.527 GB, free: 3.496 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.5215, allocations: 63.38 kB / 1.528 GB, free: 3.434 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.523, allocations: 0.722 MB / 1.528 GB, free: 2.707 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.528, allocations: 2.47 MB / 1.531 GB, free: 232 kB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.5311, allocations: 1.487 MB / 1.532 GB, free: 14.76 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.5349, allocations: 3.056 MB / 1.535 GB, free: 11.69 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.536, allocations: 0.7088 MB / 1.536 GB, free: 10.97 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.5394, allocations: 1.62 MB / 1.537 GB, free: 9.352 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.5408, allocations: 0.8297 MB / 1.538 GB, free: 8.523 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.541, allocations: 100 kB / 1.538 GB, free: 8.426 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.5447, allocations: 2.175 MB / 1.54 GB, free: 6.246 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000402/0.5451, allocations: 374.7 kB / 1.541 GB, free: 5.879 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.5457, allocations: 0.5908 MB / 1.541 GB, free: 5.285 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.5491, allocations: 2.398 MB / 1.544 GB, free: 2.879 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5491, allocations: 0 / 1.544 GB, free: 2.879 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5491, allocations: 0 / 1.544 GB, free: 2.879 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.5492, allocations: 0 / 1.544 GB, free: 2.879 MB / 1.232 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.003218/0.5524, allocations: 1.602 MB / 1.545 GB, free: 1.234 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.5524, allocations: 8.031 kB / 1.545 GB, free: 1.227 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/0.5552, allocations: 0.5377 MB / 1.546 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.5573, allocations: 0.9704 MB / 1.547 GB, free: 15.68 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.5574, allocations: 69.28 kB / 1.547 GB, free: 15.61 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.5575, allocations: 68 kB / 1.547 GB, free: 15.55 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.5598, allocations: 1.105 MB / 1.548 GB, free: 14.41 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5598, allocations: 3.75 kB / 1.548 GB, free: 14.41 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.5598, allocations: 28 kB / 1.548 GB, free: 14.39 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.5599, allocations: 25.31 kB / 1.548 GB, free: 14.36 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.5627, allocations: 1.168 MB / 1.549 GB, free: 13.2 MB / 1.248 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.005345/0.5681, allocations: 3.128 MB / 1.552 GB, free: 9.996 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.5696, allocations: 0.6528 MB / 1.553 GB, free: 9.332 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.5704, allocations: 386.7 kB / 1.553 GB, free: 8.953 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004612/0.5709, allocations: 140.3 kB / 1.553 GB, free: 8.816 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009578/0.5718, allocations: 0.5061 MB / 1.554 GB, free: 8.285 MB / 1.248 GB Notification: Performance of pre-optimization done (n=57): time 1.994e-06/0.5718, allocations: 4 kB / 1.554 GB, free: 8.281 MB / 1.248 GB Notification: Performance of matching and sorting (n=57): time 0.002776/0.5746, allocations: 1.229 MB / 1.555 GB, free: 7.043 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.5747, allocations: 140.8 kB / 1.555 GB, free: 6.875 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.5765, allocations: 1.176 MB / 1.556 GB, free: 5.684 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.5765, allocations: 37.7 kB / 1.556 GB, free: 5.641 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.5769, allocations: 441.8 kB / 1.557 GB, free: 5.203 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.5771, allocations: 202.3 kB / 1.557 GB, free: 5.004 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.5773, allocations: 142.2 kB / 1.557 GB, free: 4.855 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5775, allocations: 334 kB / 1.557 GB, free: 4.523 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.5787, allocations: 437 kB / 1.558 GB, free: 4.098 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.58, allocations: 0.6019 MB / 1.558 GB, free: 3.445 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.5819, allocations: 0.9257 MB / 1.559 GB, free: 2.457 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5819, allocations: 0 / 1.559 GB, free: 2.457 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002829/0.5848, allocations: 1.197 MB / 1.56 GB, free: 1.25 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.5848, allocations: 43.56 kB / 1.561 GB, free: 1.203 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5848, allocations: 0 / 1.561 GB, free: 1.203 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.5848, allocations: 8 kB / 1.561 GB, free: 1.195 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/0.5857, allocations: 191.9 kB / 1.561 GB, free: 1.008 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5857, allocations: 11.94 kB / 1.561 GB, free: 0.9961 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.587, allocations: 251.1 kB / 1.561 GB, free: 0.75 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.5871, allocations: 35.97 kB / 1.561 GB, free: 0.7148 MB / 1.248 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.0004354/0.5876, allocations: 327.3 kB / 1.561 GB, free: 388 kB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.5877, allocations: 127.2 kB / 1.561 GB, free: 260 kB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.5898, allocations: 0.9992 MB / 1.562 GB, free: 15.25 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.5898, allocations: 7.938 kB / 1.562 GB, free: 15.24 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.5898, allocations: 7.984 kB / 1.562 GB, free: 15.23 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5898, allocations: 0 / 1.562 GB, free: 15.23 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/0.5946, allocations: 3.137 MB / 1.565 GB, free: 11.95 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5946, allocations: 8 kB / 1.565 GB, free: 11.94 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.5951, allocations: 119.8 kB / 1.566 GB, free: 11.82 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.5951, allocations: 16.12 kB / 1.566 GB, free: 11.81 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.5952, allocations: 24 kB / 1.566 GB, free: 11.79 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.5952, allocations: 11.98 kB / 1.566 GB, free: 11.77 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.5952, allocations: 15.94 kB / 1.566 GB, free: 11.76 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.5973, allocations: 1.347 MB / 1.567 GB, free: 10.29 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.5978, allocations: 266.8 kB / 1.567 GB, free: 10.03 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.598, allocations: 27.98 kB / 1.567 GB, free: 10 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.599, allocations: 99.91 kB / 1.567 GB, free: 9.902 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5991, allocations: 63.67 kB / 1.567 GB, free: 9.84 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.5992, allocations: 39.97 kB / 1.567 GB, free: 9.801 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001394/0.6006, allocations: 0.8482 MB / 1.568 GB, free: 8.945 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6006, allocations: 0 / 1.568 GB, free: 8.945 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009725/0.6016, allocations: 299.6 kB / 1.569 GB, free: 8.652 MB / 1.264 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.0005753/0.6022, allocations: 332.5 kB / 1.569 GB, free: 8.324 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.6044, allocations: 0.976 MB / 1.57 GB, free: 7.336 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6044, allocations: 4 kB / 1.57 GB, free: 7.332 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008675/0.6053, allocations: 484.8 kB / 1.57 GB, free: 6.848 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.6077, allocations: 0.557 MB / 1.571 GB, free: 6.297 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.6112, allocations: 2.107 MB / 1.573 GB, free: 4.051 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/0.6119, allocations: 1.065 MB / 1.574 GB, free: 2.953 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.6122, allocations: 91.41 kB / 1.574 GB, free: 2.863 MB / 1.264 GB Notification: Performance of SimCode: time 8.02e-07/0.6122, allocations: 0 / 1.574 GB, free: 2.863 MB / 1.264 GB Notification: Performance of Templates: time 0.02681/0.639, allocations: 18.86 MB / 1.592 GB, free: 132 kB / 1.279 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: 12.53383387599024]