Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 111.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437.1 MB / 0.7178 GB, free: 4.578 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 151.6 MB / 1.176 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.946/1.273, allocations: 194 MB / 1.365 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01276/1.286, allocations: 6.946 MB / 1.372 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/1.288, allocations: 45.69 kB / 1.372 GB, free: 10.78 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/1.29, allocations: 0.6944 MB / 1.373 GB, free: 10.33 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006946/1.297, allocations: 2.345 MB / 1.375 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004015/1.301, allocations: 1.416 MB / 1.376 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005826/1.307, allocations: 2.994 MB / 1.379 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/1.309, allocations: 0.8884 MB / 1.38 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/1.313, allocations: 1.139 MB / 1.381 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/1.315, allocations: 0.7977 MB / 1.382 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004122/1.315, allocations: 101.5 kB / 1.382 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00628/1.322, allocations: 2.06 MB / 1.384 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/1.323, allocations: 364 kB / 1.385 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002023/1.325, allocations: 0.5859 MB / 1.385 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007/1.332, allocations: 2.401 MB / 1.388 GB, free: 2.086 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.332, allocations: 0 / 1.388 GB, free: 2.086 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.284e-06/1.332, allocations: 0 / 1.388 GB, free: 2.086 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.469e-05/1.332, allocations: 0 / 1.388 GB, free: 2.086 MB / 1.045 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.004874/1.337, allocations: 1.672 MB / 1.389 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.337, allocations: 17.58 kB / 1.389 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/1.34, allocations: 0.5377 MB / 1.39 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/1.343, allocations: 1.054 MB / 1.391 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.491e-05/1.343, allocations: 56.44 kB / 1.391 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/1.343, allocations: 66.34 kB / 1.391 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/1.346, allocations: 1.102 MB / 1.392 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/1.346, allocations: 0 / 1.392 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.346, allocations: 35.3 kB / 1.392 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/1.346, allocations: 33.53 kB / 1.392 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/1.349, allocations: 1.157 MB / 1.393 GB, free: 14.42 MB / 1.061 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.006836/1.356, allocations: 3.17 MB / 1.396 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/1.358, allocations: 0.6791 MB / 1.397 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008547/1.359, allocations: 426.8 kB / 1.397 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.36, allocations: 1.036 MB / 1.398 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/1.361, allocations: 0.5136 MB / 1.399 GB, free: 9.934 MB / 1.061 GB Notification: Performance of pre-optimization done (n=57): time 2.965e-06/1.361, allocations: 0 / 1.399 GB, free: 9.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=57): time 0.003411/1.365, allocations: 1.228 MB / 1.4 GB, free: 9.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.365, allocations: 140.8 kB / 1.4 GB, free: 9.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/1.367, allocations: 1.178 MB / 1.401 GB, free: 8.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/1.368, allocations: 42.09 kB / 1.401 GB, free: 8.477 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/1.368, allocations: 447 kB / 1.402 GB, free: 8.086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/1.368, allocations: 197.3 kB / 1.402 GB, free: 7.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/1.369, allocations: 147 kB / 1.402 GB, free: 7.828 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.369, allocations: 333.7 kB / 1.402 GB, free: 7.504 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.37, allocations: 437.8 kB / 1.403 GB, free: 7.301 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/1.372, allocations: 0.5933 MB / 1.403 GB, free: 6.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/1.374, allocations: 0.928 MB / 1.404 GB, free: 6.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.374, allocations: 2.094 kB / 1.404 GB, free: 6.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003385/1.377, allocations: 1.201 MB / 1.405 GB, free: 5.754 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/1.377, allocations: 35.52 kB / 1.406 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.377, allocations: 7.297 kB / 1.406 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/1.377, allocations: 5.188 kB / 1.406 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/1.378, allocations: 190.7 kB / 1.406 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/1.378, allocations: 11.34 kB / 1.406 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.38, allocations: 240.5 kB / 1.406 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.38, allocations: 40.81 kB / 1.406 GB, free: 5.523 MB / 1.061 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.0006174/1.381, allocations: 326.2 kB / 1.406 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/1.381, allocations: 125.2 kB / 1.406 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/1.384, allocations: 0.9856 MB / 1.407 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.384, allocations: 7.688 kB / 1.407 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.384, allocations: 7.938 kB / 1.407 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.384, allocations: 5.922 kB / 1.407 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005822/1.389, allocations: 3.168 MB / 1.41 GB, free: 2.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.39, allocations: 7.812 kB / 1.411 GB, free: 2.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/1.39, allocations: 123.5 kB / 1.411 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/1.39, allocations: 10.25 kB / 1.411 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/1.39, allocations: 27.23 kB / 1.411 GB, free: 2.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/1.39, allocations: 11.62 kB / 1.411 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/1.39, allocations: 21.78 kB / 1.411 GB, free: 2.328 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/1.393, allocations: 1.35 MB / 1.412 GB, free: 1.352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/1.394, allocations: 335.1 kB / 1.412 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/1.394, allocations: 24.56 kB / 1.412 GB, free: 1.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.395, allocations: 101.8 kB / 1.412 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/1.395, allocations: 63.75 kB / 1.413 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.395, allocations: 47.97 kB / 1.413 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001906/1.397, allocations: 0.8482 MB / 1.413 GB, free: 40 kB / 1.061 GB Notification: Performance of sort global known variables: time 3.2e-07/1.397, allocations: 0 / 1.413 GB, free: 40 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001417/1.399, allocations: 299.6 kB / 1.414 GB, free: 15.75 MB / 1.076 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.000964/1.4, allocations: 351.5 kB / 1.414 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002877/1.403, allocations: 1.013 MB / 1.415 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.403, allocations: 0 / 1.415 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.404, allocations: 0.5178 MB / 1.416 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/1.408, allocations: 0.5509 MB / 1.416 GB, free: 13.31 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/1.413, allocations: 2.108 MB / 1.418 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.414, allocations: 1.065 MB / 1.419 GB, free: 9.965 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/1.414, allocations: 91.39 kB / 1.419 GB, free: 9.875 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/1.414, allocations: 0 / 1.419 GB, free: 9.875 MB / 1.076 GB Notification: Performance of Templates: time 0.0351/1.449, allocations: 18.8 MB / 1.438 GB, free: 7.203 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.946117265964858]