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.001972/0.001972, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001585/0.001585, allocations: 207.1 kB / 22.99 MB, free: 4.965 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.469/1.469, 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.111/3.111, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 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.002219/0.002219, allocations: 62.28 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3427, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2362/0.5789, allocations: 171.9 MB / 1.494 GB, free: 5.297 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.5915, allocations: 6.559 MB / 1.501 GB, free: 14.73 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.5933, allocations: 63.44 kB / 1.501 GB, free: 14.66 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.5957, allocations: 0.6947 MB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007669/0.6034, allocations: 2.415 MB / 1.504 GB, free: 11.54 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.6075, allocations: 1.452 MB / 1.505 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005456/0.6129, allocations: 3.001 MB / 1.508 GB, free: 7.094 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.6148, allocations: 0.7049 MB / 1.509 GB, free: 6.375 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.6197, allocations: 1.636 MB / 1.51 GB, free: 4.738 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.6218, allocations: 0.8016 MB / 1.511 GB, free: 3.941 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004343/0.6223, allocations: 96 kB / 1.511 GB, free: 3.848 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.6265, allocations: 1.664 MB / 1.513 GB, free: 2.18 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007379/0.6273, allocations: 370.7 kB / 1.513 GB, free: 1.816 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.6285, allocations: 485.7 kB / 1.514 GB, free: 1.34 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005469/0.634, allocations: 2.336 MB / 1.516 GB, free: 14.99 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.634, allocations: 0 / 1.516 GB, free: 14.99 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.775e-06/0.634, allocations: 4 kB / 1.516 GB, free: 14.99 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.713e-05/0.6341, allocations: 3.938 kB / 1.516 GB, free: 14.98 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.004925/0.639, allocations: 1.596 MB / 1.518 GB, free: 13.35 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.639, allocations: 12.02 kB / 1.518 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.6423, allocations: 0.5377 MB / 1.518 GB, free: 12.8 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.6453, allocations: 0.9625 MB / 1.519 GB, free: 11.8 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.6454, allocations: 53.31 kB / 1.519 GB, free: 11.75 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.6456, allocations: 71.98 kB / 1.519 GB, free: 11.68 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/0.6488, allocations: 1.234 MB / 1.52 GB, free: 10.39 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.6488, allocations: 7.875 kB / 1.52 GB, free: 10.38 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6489, allocations: 28 kB / 1.52 GB, free: 10.35 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/0.649, allocations: 37.3 kB / 1.52 GB, free: 10.32 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/0.6524, allocations: 1.182 MB / 1.522 GB, free: 9.129 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.006507/0.6589, allocations: 2.713 MB / 1.524 GB, free: 6.363 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.6608, allocations: 0.6857 MB / 1.525 GB, free: 5.66 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008961/0.6617, allocations: 425.4 kB / 1.525 GB, free: 5.238 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/0.6622, allocations: 132.3 kB / 1.525 GB, free: 5.109 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.6635, allocations: 0.6511 MB / 1.526 GB, free: 4.402 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 3.326e-06/0.6635, allocations: 0 / 1.526 GB, free: 4.402 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.003378/0.6669, allocations: 1.264 MB / 1.527 GB, free: 3.117 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.667, allocations: 136.9 kB / 1.527 GB, free: 2.953 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.6688, allocations: 0.8839 MB / 1.528 GB, free: 2.055 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.669, allocations: 37.7 kB / 1.528 GB, free: 2.012 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.6695, allocations: 464.5 kB / 1.529 GB, free: 1.551 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.6697, allocations: 198.3 kB / 1.529 GB, free: 1.355 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.6701, allocations: 146.2 kB / 1.529 GB, free: 1.203 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6702, allocations: 337.8 kB / 1.529 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.6715, allocations: 466.7 kB / 1.53 GB, free: 416 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.6733, allocations: 0.9823 MB / 1.531 GB, free: 15.28 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.6756, allocations: 0.9293 MB / 1.532 GB, free: 14.29 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6756, allocations: 0 / 1.532 GB, free: 14.29 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003495/0.6791, allocations: 1.218 MB / 1.533 GB, free: 13.05 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.6791, allocations: 37.98 kB / 1.533 GB, free: 13.01 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6792, allocations: 8 kB / 1.533 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.6792, allocations: 7.984 kB / 1.533 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.6801, allocations: 187.7 kB / 1.533 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.6801, allocations: 4 kB / 1.533 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.6816, allocations: 223.1 kB / 1.533 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.6817, allocations: 36.44 kB / 1.533 GB, free: 12.56 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.00061/0.6823, allocations: 331.2 kB / 1.534 GB, free: 12.22 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.6826, allocations: 103.4 kB / 1.534 GB, free: 12.12 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.685, allocations: 1.011 MB / 1.535 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.685, allocations: 12 kB / 1.535 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.685, allocations: 0 / 1.535 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.685, allocations: 7.922 kB / 1.535 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005423/0.6904, allocations: 2.93 MB / 1.538 GB, free: 8 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.6905, allocations: 8 kB / 1.538 GB, free: 7.992 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.6911, allocations: 115.8 kB / 1.538 GB, free: 7.879 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.6911, allocations: 12 kB / 1.538 GB, free: 7.867 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.6911, allocations: 28.14 kB / 1.538 GB, free: 7.84 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/0.6911, allocations: 15.94 kB / 1.538 GB, free: 7.824 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.6912, allocations: 11.94 kB / 1.538 GB, free: 7.812 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.6936, allocations: 1.367 MB / 1.539 GB, free: 6.316 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006006/0.6942, allocations: 227.1 kB / 1.539 GB, free: 6.094 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.6943, allocations: 23.98 kB / 1.539 GB, free: 6.07 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.6953, allocations: 95.91 kB / 1.539 GB, free: 5.977 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.6955, allocations: 67.59 kB / 1.54 GB, free: 5.91 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.6955, allocations: 43.97 kB / 1.54 GB, free: 5.867 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001256/0.6968, allocations: 0.6395 MB / 1.54 GB, free: 5.23 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6968, allocations: 0 / 1.54 GB, free: 5.23 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001161/0.698, allocations: 323.3 kB / 1.541 GB, free: 4.914 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.0006367/0.6986, allocations: 334.3 kB / 1.541 GB, free: 4.582 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002578/0.7012, allocations: 1.036 MB / 1.542 GB, free: 3.52 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.7012, allocations: 0 / 1.542 GB, free: 3.52 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.7022, allocations: 0.5103 MB / 1.542 GB, free: 2.992 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.7042, allocations: 384.6 kB / 1.543 GB, free: 2.629 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.7084, allocations: 2.085 MB / 1.545 GB, free: 408 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.709, allocations: 481.6 kB / 1.545 GB, free: 15.89 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.7094, allocations: 71.41 kB / 1.545 GB, free: 15.82 MB / 1.248 GB Notification: Performance of SimCode: time 8.71e-07/0.7094, allocations: 0 / 1.545 GB, free: 15.82 MB / 1.248 GB Notification: Performance of Templates: time 0.0279/0.7373, allocations: 16.79 MB / 1.562 GB, free: 15.15 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.432014182209969]