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.001944/0.001944, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002382/0.002382, allocations: 209.7 kB / 22.99 MB, free: 4.957 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.122/3.122, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002028/0.002028, allocations: 73.72 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3226/0.6602, allocations: 171.9 MB / 1.495 GB, free: 4.402 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.6711, allocations: 6.556 MB / 1.501 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008305/0.6719, allocations: 71.38 kB / 1.501 GB, free: 13.76 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.6736, allocations: 0.6909 MB / 1.502 GB, free: 13.07 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/0.6789, allocations: 2.415 MB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.6822, allocations: 1.479 MB / 1.506 GB, free: 9.184 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003896/0.6861, allocations: 3.036 MB / 1.509 GB, free: 6.137 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.6871, allocations: 0.7049 MB / 1.51 GB, free: 5.418 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.6906, allocations: 1.635 MB / 1.511 GB, free: 3.785 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.6919, allocations: 0.836 MB / 1.512 GB, free: 2.949 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.692, allocations: 100 kB / 1.512 GB, free: 2.852 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.6951, allocations: 1.687 MB / 1.514 GB, free: 1.16 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.6955, allocations: 386.6 kB / 1.514 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.696, allocations: 473.8 kB / 1.515 GB, free: 324 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.6991, allocations: 2.34 MB / 1.517 GB, free: 13.97 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6991, allocations: 7.938 kB / 1.517 GB, free: 13.96 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.093e-06/0.6991, allocations: 0 / 1.517 GB, free: 13.96 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.6991, allocations: 0 / 1.517 GB, free: 13.96 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.003628/0.7027, allocations: 1.59 MB / 1.518 GB, free: 12.33 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.7028, allocations: 8.031 kB / 1.518 GB, free: 12.32 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.7059, allocations: 0.5416 MB / 1.519 GB, free: 11.78 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.7084, allocations: 0.9702 MB / 1.52 GB, free: 10.77 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.7085, allocations: 57.31 kB / 1.52 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.7086, allocations: 68 kB / 1.52 GB, free: 10.65 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.7113, allocations: 1.234 MB / 1.521 GB, free: 9.359 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.7113, allocations: 3.938 kB / 1.521 GB, free: 9.355 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.7114, allocations: 28 kB / 1.521 GB, free: 9.328 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.7115, allocations: 41.3 kB / 1.521 GB, free: 9.289 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/0.7147, allocations: 1.186 MB / 1.522 GB, free: 8.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.0059/0.7206, allocations: 2.717 MB / 1.525 GB, free: 5.324 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.7224, allocations: 0.6784 MB / 1.526 GB, free: 4.633 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008621/0.7233, allocations: 425.8 kB / 1.526 GB, free: 4.211 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005338/0.7238, allocations: 132.3 kB / 1.526 GB, free: 4.082 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.725, allocations: 0.6433 MB / 1.527 GB, free: 3.383 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 2.344e-06/0.725, allocations: 4 kB / 1.527 GB, free: 3.379 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.003136/0.7282, allocations: 1.268 MB / 1.528 GB, free: 2.09 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.351e-05/0.7283, allocations: 136.9 kB / 1.528 GB, free: 1.926 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.7298, allocations: 0.8878 MB / 1.529 GB, free: 1.023 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.7299, allocations: 37.7 kB / 1.529 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.7303, allocations: 464.5 kB / 1.53 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.7304, allocations: 198.3 kB / 1.53 GB, free: 332 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.7307, allocations: 142.2 kB / 1.53 GB, free: 180 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7309, allocations: 333.9 kB / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.7322, allocations: 470.7 kB / 1.531 GB, free: 15.38 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.7339, allocations: 0.9784 MB / 1.532 GB, free: 14.26 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.736, allocations: 0.9374 MB / 1.533 GB, free: 13.26 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.736, allocations: 0 / 1.533 GB, free: 13.26 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003105/0.7391, allocations: 1.214 MB / 1.534 GB, free: 12.03 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.7392, allocations: 37.69 kB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7392, allocations: 4 kB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.7392, allocations: 4 kB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7402, allocations: 195.9 kB / 1.534 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.7403, allocations: 15.92 kB / 1.534 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.7416, allocations: 215.4 kB / 1.534 GB, free: 11.56 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.7417, allocations: 35.97 kB / 1.534 GB, free: 11.52 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.0005308/0.7423, allocations: 323.3 kB / 1.535 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.7424, allocations: 103.4 kB / 1.535 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.7447, allocations: 1.012 MB / 1.536 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.7448, allocations: 8 kB / 1.536 GB, free: 10.06 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7448, allocations: 0 / 1.536 GB, free: 10.06 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.7448, allocations: 7.922 kB / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/0.7498, allocations: 2.93 MB / 1.539 GB, free: 6.977 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.7498, allocations: 8 kB / 1.539 GB, free: 6.969 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.7505, allocations: 120.1 kB / 1.539 GB, free: 6.852 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.7505, allocations: 12 kB / 1.539 GB, free: 6.84 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.7506, allocations: 31.98 kB / 1.539 GB, free: 6.809 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.7506, allocations: 8 kB / 1.539 GB, free: 6.801 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.7506, allocations: 11.94 kB / 1.539 GB, free: 6.789 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.7529, allocations: 1.367 MB / 1.54 GB, free: 5.297 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.7534, allocations: 219.1 kB / 1.54 GB, free: 5.082 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.7536, allocations: 27.94 kB / 1.54 GB, free: 5.055 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.7547, allocations: 103.9 kB / 1.54 GB, free: 4.953 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.7548, allocations: 67.55 kB / 1.54 GB, free: 4.887 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.7549, allocations: 43.91 kB / 1.541 GB, free: 4.844 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001225/0.7561, allocations: 0.6395 MB / 1.541 GB, free: 4.207 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7561, allocations: 0 / 1.541 GB, free: 4.207 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001097/0.7572, allocations: 327.3 kB / 1.541 GB, free: 3.887 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.0006454/0.7579, allocations: 329 kB / 1.542 GB, free: 3.562 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00254/0.7604, allocations: 1.04 MB / 1.543 GB, free: 2.496 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7604, allocations: 4 kB / 1.543 GB, free: 2.492 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009924/0.7614, allocations: 0.5061 MB / 1.543 GB, free: 1.969 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.7633, allocations: 376.4 kB / 1.544 GB, free: 1.613 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.767, allocations: 2.042 MB / 1.546 GB, free: 15.43 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.7675, allocations: 489.6 kB / 1.546 GB, free: 14.92 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007798/0.7683, allocations: 231.5 kB / 1.546 GB, free: 14.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.7686, allocations: 67.42 kB / 1.546 GB, free: 14.63 MB / 1.248 GB Notification: Performance of SimCode: time 4.41e-07/0.7686, allocations: 0 / 1.546 GB, free: 14.63 MB / 1.248 GB Notification: Performance of Templates: time 0.03239/0.801, allocations: 19.58 MB / 1.566 GB, free: 11.39 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 -s gbode -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: 9.798330919002183]