Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001985/0.001985, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002188/0.002188, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.916/2.916, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.91e-05/4.1e-05, allocations: 11.28 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005405/0.005446, allocations: 2.483 MB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003307/0.008753, allocations: 1.669 MB / 0.7905 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.008935, allocations: 9.406 kB / 0.7905 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.01007, allocations: 327.1 kB / 0.7908 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006492/0.01072, allocations: 272.2 kB / 0.791 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.01128, allocations: 209.2 kB / 0.7912 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.01185, allocations: 418.5 kB / 0.7916 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.01201, allocations: 42.08 kB / 0.7917 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.01236, allocations: 223.4 kB / 0.7919 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.01264, allocations: 139.6 kB / 0.792 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.477e-05/0.0127, allocations: 21.38 kB / 0.792 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.01294, allocations: 87.88 kB / 0.7921 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.01314, allocations: 139.5 kB / 0.7923 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.01329, allocations: 96.44 kB / 0.7923 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.01406, allocations: 0.4982 MB / 0.7928 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.01407, allocations: 3.938 kB / 0.7928 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-06/0.01408, allocations: 4.828 kB / 0.7928 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.01409, allocations: 0 / 0.7928 GB, free: 6.172 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001696/0.01578, allocations: 0.929 MB / 0.7937 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.01583, allocations: 8.031 kB / 0.7938 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.01616, allocations: 65.41 kB / 0.7938 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/0.01685, allocations: 374.6 kB / 0.7942 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.01687, allocations: 8.562 kB / 0.7942 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.0169, allocations: 12.38 kB / 0.7942 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.01723, allocations: 136.6 kB / 0.7943 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.01725, allocations: 3.984 kB / 0.7943 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.01727, allocations: 4 kB / 0.7943 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01728, allocations: 4 kB / 0.7943 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.01748, allocations: 61.41 kB / 0.7944 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01866, allocations: 0.6244 MB / 0.795 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.01897, allocations: 126 kB / 0.7951 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.01908, allocations: 43.61 kB / 0.7952 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.0191, allocations: 4 kB / 0.7952 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.01937, allocations: 148.9 kB / 0.7953 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.01937, allocations: 0 / 0.7953 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005513/0.01993, allocations: 225.2 kB / 0.7955 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.01998, allocations: 55.41 kB / 0.7956 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009898/0.02097, allocations: 0.7384 MB / 0.7963 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.021, allocations: 34.2 kB / 0.7963 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.02138, allocations: 369.1 kB / 0.7967 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.02144, allocations: 39.73 kB / 0.7967 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.02156, allocations: 75.23 kB / 0.7968 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003839/0.02195, allocations: 0.5898 MB / 0.7974 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.02209, allocations: 55.97 kB / 0.7974 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.02233, allocations: 164 kB / 0.7976 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.02258, allocations: 129.8 kB / 0.7977 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02259, allocations: 4.594 kB / 0.7977 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004592/0.02305, allocations: 247.7 kB / 0.7979 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.02306, allocations: 6.844 kB / 0.798 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.02307, allocations: 0 / 0.798 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.02309, allocations: 7.984 kB / 0.798 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.02326, allocations: 31.98 kB / 0.798 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.02327, allocations: 7.938 kB / 0.798 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.02342, allocations: 19.94 kB / 0.798 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.02345, allocations: 15.92 kB / 0.798 GB, free: 0.6055 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.000209/0.02366, allocations: 192.7 kB / 0.7982 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.02375, allocations: 63.58 kB / 0.7983 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.02419, allocations: 210 kB / 0.7985 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02419, allocations: 0 / 0.7985 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.0242, allocations: 3.938 kB / 0.7985 GB, free: 132 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.02422, allocations: 0.9375 kB / 0.7985 GB, free: 132 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.02476, allocations: 396.4 kB / 0.7989 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02477, allocations: 1.125 kB / 0.7989 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.02482, allocations: 15.98 kB / 0.7989 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.02482, allocations: 0 / 0.7989 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.02484, allocations: 1.062 kB / 0.7989 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.02484, allocations: 4 kB / 0.7989 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.02485, allocations: 0 / 0.7989 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.0253, allocations: 249 kB / 0.7991 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.02542, allocations: 55.56 kB / 0.7992 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.02548, allocations: 11.98 kB / 0.7992 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.02559, allocations: 5.75 kB / 0.7992 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.02569, allocations: 23.95 kB / 0.7992 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.02571, allocations: 11.94 kB / 0.7992 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006066/0.02631, allocations: 451 kB / 0.7997 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02631, allocations: 0 / 0.7997 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003319/0.02665, allocations: 73.22 kB / 0.7997 GB, free: 14.81 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003056/0.0297, allocations: 466.3 kB / 0.8002 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.0301, allocations: 147.5 kB / 0.8003 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0301, allocations: 0 / 0.8003 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.03025, allocations: 62.48 kB / 0.8004 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.03077, allocations: 102.3 kB / 0.8005 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.03226, allocations: 0.7735 MB / 0.8012 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.03256, allocations: 258.7 kB / 0.8015 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.03269, allocations: 42.94 kB / 0.8015 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.03278, allocations: 32.5 kB / 0.8015 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of SimCode: time 4.9e-07/0.03278, allocations: 4 kB / 0.8015 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of Templates: time 0.01193/0.04471, allocations: 4.597 MB / 0.806 GB, free: 8.559 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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: 8.594643687014468]