Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001361/0.001361, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001494/0.001494, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.247/3.247, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002189/0.002189, allocations: 71.14 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3696, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2257/0.5953, allocations: 171.9 MB / 1.533 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.6066, allocations: 6.555 MB / 1.539 GB, free: 10.38 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.6079, allocations: 63.44 kB / 1.539 GB, free: 10.32 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.6099, allocations: 0.6986 MB / 1.54 GB, free: 9.613 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006499/0.6164, allocations: 2.404 MB / 1.542 GB, free: 7.199 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.6201, allocations: 1.464 MB / 1.543 GB, free: 5.758 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004379/0.6244, allocations: 3.009 MB / 1.546 GB, free: 2.742 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6257, allocations: 0.6971 MB / 1.547 GB, free: 2.031 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.6301, allocations: 1.634 MB / 1.549 GB, free: 408 kB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.6319, allocations: 0.803 MB / 1.549 GB, free: 15.6 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.6321, allocations: 100 kB / 1.55 GB, free: 15.5 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/0.6358, allocations: 1.664 MB / 1.551 GB, free: 13.83 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.6363, allocations: 370.7 kB / 1.552 GB, free: 13.47 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007586/0.6371, allocations: 485.7 kB / 1.552 GB, free: 12.99 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004293/0.6414, allocations: 2.348 MB / 1.554 GB, free: 10.64 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6414, allocations: 0 / 1.554 GB, free: 10.64 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6414, allocations: 0 / 1.554 GB, free: 10.64 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.206e-05/0.6414, allocations: 0 / 1.554 GB, free: 10.64 MB / 1.248 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.003815/0.6452, allocations: 1.594 MB / 1.556 GB, free: 9 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6453, allocations: 12.03 kB / 1.556 GB, free: 8.988 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.6483, allocations: 0.5416 MB / 1.556 GB, free: 8.445 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.651, allocations: 0.9664 MB / 1.557 GB, free: 7.445 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.6511, allocations: 49.31 kB / 1.557 GB, free: 7.398 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.6512, allocations: 68 kB / 1.557 GB, free: 7.332 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.6539, allocations: 1.242 MB / 1.559 GB, free: 6.035 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.6539, allocations: 7.875 kB / 1.559 GB, free: 6.027 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.654, allocations: 28 kB / 1.559 GB, free: 6 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.6541, allocations: 29.31 kB / 1.559 GB, free: 5.973 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.6572, allocations: 1.19 MB / 1.56 GB, free: 4.773 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.005965/0.6632, allocations: 2.702 MB / 1.563 GB, free: 2.016 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.6649, allocations: 0.6779 MB / 1.563 GB, free: 1.324 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/0.6657, allocations: 423.8 kB / 1.564 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.6662, allocations: 132.3 kB / 1.564 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.6673, allocations: 0.6472 MB / 1.564 GB, free: 64 kB / 1.248 GB Notification: Performance of pre-optimization done (n=57): time 4.328e-06/0.6673, allocations: 3.984 kB / 1.564 GB, free: 60 kB / 1.248 GB Notification: Performance of matching and sorting (n=57): time 0.003162/0.6705, allocations: 1.264 MB / 1.566 GB, free: 14.77 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/0.6706, allocations: 136.9 kB / 1.566 GB, free: 14.61 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.6722, allocations: 0.8916 MB / 1.567 GB, free: 13.7 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.6723, allocations: 41.7 kB / 1.567 GB, free: 13.66 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.6727, allocations: 460.6 kB / 1.567 GB, free: 13.2 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.6729, allocations: 194.3 kB / 1.567 GB, free: 13.01 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.6732, allocations: 146.2 kB / 1.567 GB, free: 12.86 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6733, allocations: 337.9 kB / 1.568 GB, free: 12.52 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.6746, allocations: 470.7 kB / 1.568 GB, free: 12.05 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.6762, allocations: 0.9784 MB / 1.569 GB, free: 10.93 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.6784, allocations: 0.9293 MB / 1.57 GB, free: 9.953 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.6784, allocations: 4 kB / 1.57 GB, free: 9.949 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003252/0.6816, allocations: 1.214 MB / 1.571 GB, free: 8.715 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.6817, allocations: 41.69 kB / 1.571 GB, free: 8.668 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6817, allocations: 0 / 1.571 GB, free: 8.668 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.6817, allocations: 8 kB / 1.571 GB, free: 8.66 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/0.6826, allocations: 191.8 kB / 1.571 GB, free: 8.473 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.6826, allocations: 4 kB / 1.571 GB, free: 8.469 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.684, allocations: 223.4 kB / 1.572 GB, free: 8.25 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/0.6841, allocations: 35.98 kB / 1.572 GB, free: 8.215 MB / 1.264 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.0005562/0.6847, allocations: 340.4 kB / 1.572 GB, free: 7.867 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.6849, allocations: 95.39 kB / 1.572 GB, free: 7.773 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.6871, allocations: 1.013 MB / 1.573 GB, free: 6.746 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.6871, allocations: 4 kB / 1.573 GB, free: 6.742 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6871, allocations: 7.938 kB / 1.573 GB, free: 6.734 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.6871, allocations: 7.922 kB / 1.573 GB, free: 6.727 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/0.6923, allocations: 2.936 MB / 1.576 GB, free: 3.648 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.6923, allocations: 4.516 kB / 1.576 GB, free: 3.645 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.6929, allocations: 128 kB / 1.576 GB, free: 3.52 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.693, allocations: 12 kB / 1.576 GB, free: 3.508 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.693, allocations: 20 kB / 1.576 GB, free: 3.488 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.956e-05/0.693, allocations: 19.92 kB / 1.576 GB, free: 3.469 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.6931, allocations: 11.94 kB / 1.576 GB, free: 3.457 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.6955, allocations: 1.367 MB / 1.577 GB, free: 1.969 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.6961, allocations: 231.1 kB / 1.578 GB, free: 1.742 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.6962, allocations: 20 kB / 1.578 GB, free: 1.723 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.6972, allocations: 95.89 kB / 1.578 GB, free: 1.629 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6974, allocations: 63.75 kB / 1.578 GB, free: 1.566 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/0.6975, allocations: 47.91 kB / 1.578 GB, free: 1.52 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001246/0.6987, allocations: 0.6356 MB / 1.579 GB, free: 0.8867 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6987, allocations: 0 / 1.579 GB, free: 0.8867 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00113/0.6998, allocations: 327.3 kB / 1.579 GB, free: 0.5664 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.0006047/0.7004, allocations: 330.7 kB / 1.579 GB, free: 248 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.703, allocations: 1.036 MB / 1.58 GB, free: 15.18 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.703, allocations: 0 / 1.58 GB, free: 15.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.704, allocations: 0.5064 MB / 1.581 GB, free: 14.66 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.7062, allocations: 386 kB / 1.581 GB, free: 14.29 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.7102, allocations: 2.077 MB / 1.583 GB, free: 12.07 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.7107, allocations: 481.6 kB / 1.584 GB, free: 11.57 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.7111, allocations: 83.39 kB / 1.584 GB, free: 11.48 MB / 1.279 GB Notification: Performance of SimCode: time 7.41e-07/0.7111, allocations: 0 / 1.584 GB, free: 11.48 MB / 1.279 GB Notification: Performance of Templates: time 0.02674/0.7378, allocations: 16.77 MB / 1.6 GB, free: 10.82 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.023967941757292]