Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002631/0.002631, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003317/0.003317, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.631/1.631, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.503/3.503, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.833e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004838/0.004867, allocations: 2.487 MB / 0.8799 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003538/0.008405, allocations: 1.659 MB / 0.8815 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.008595, allocations: 5.594 kB / 0.8815 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.009703, allocations: 327.1 kB / 0.8818 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006224/0.01033, allocations: 276.8 kB / 0.8821 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.01086, allocations: 215.3 kB / 0.8823 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.0114, allocations: 418.5 kB / 0.8827 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.01154, allocations: 40.91 kB / 0.8827 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.01188, allocations: 219.4 kB / 0.8829 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.01213, allocations: 147.6 kB / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.0122, allocations: 20 kB / 0.8831 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.01241, allocations: 83.88 kB / 0.8832 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.01259, allocations: 135.5 kB / 0.8833 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.01274, allocations: 103.6 kB / 0.8834 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007114/0.01345, allocations: 0.5098 MB / 0.8839 GB, free: 60 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01346, allocations: 0 / 0.8839 GB, free: 60 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01346, allocations: 0 / 0.8839 GB, free: 60 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.01347, allocations: 0 / 0.8839 GB, free: 60 kB / 0.8386 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.001587/0.01505, allocations: 0.9202 MB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.0151, allocations: 8.031 kB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.01525, allocations: 76.44 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.01596, allocations: 377.4 kB / 0.8853 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.01599, allocations: 8.562 kB / 0.8853 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.01631, allocations: 16.38 kB / 0.8853 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.01663, allocations: 139.3 kB / 0.8854 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.01664, allocations: 3.938 kB / 0.8854 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.01666, allocations: 7.984 kB / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.01668, allocations: 0 / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.01687, allocations: 63.95 kB / 0.8855 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.01809, allocations: 0.6205 MB / 0.8861 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.01842, allocations: 115.3 kB / 0.8862 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.01854, allocations: 47.61 kB / 0.8862 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.01856, allocations: 4 kB / 0.8862 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.01885, allocations: 146.6 kB / 0.8864 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.01885, allocations: 0 / 0.8864 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005692/0.01942, allocations: 219.9 kB / 0.8866 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.01948, allocations: 59.34 kB / 0.8867 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.02049, allocations: 0.7456 MB / 0.8874 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.02053, allocations: 33.7 kB / 0.8874 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.02091, allocations: 367.1 kB / 0.8878 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.02096, allocations: 39.73 kB / 0.8878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.02109, allocations: 75.36 kB / 0.8879 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004232/0.02151, allocations: 0.5898 MB / 0.8884 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.02167, allocations: 51.97 kB / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.02191, allocations: 166.9 kB / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.02218, allocations: 133.2 kB / 0.8888 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02218, allocations: 0 / 0.8888 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004936/0.02267, allocations: 247 kB / 0.889 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.02269, allocations: 4 kB / 0.889 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.0227, allocations: 8.094 kB / 0.889 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.02272, allocations: 0 / 0.889 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.02289, allocations: 35.92 kB / 0.8891 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.0229, allocations: 3.938 kB / 0.8891 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.02305, allocations: 23.94 kB / 0.8891 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.02308, allocations: 12 kB / 0.8891 GB, free: 10.47 MB / 0.8542 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.0002224/0.02331, allocations: 190.6 kB / 0.8893 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.02339, allocations: 59.62 kB / 0.8893 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.02385, allocations: 202.8 kB / 0.8895 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.02385, allocations: 7.984 kB / 0.8895 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.02386, allocations: 3.938 kB / 0.8895 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.02386, allocations: 4 kB / 0.8896 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.0244, allocations: 392.3 kB / 0.8899 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0244, allocations: 0 / 0.8899 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.02446, allocations: 8 kB / 0.8899 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.02446, allocations: 3.938 kB / 0.8899 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.02448, allocations: 7.984 kB / 0.8899 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.02448, allocations: 0 / 0.8899 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02448, allocations: 0 / 0.8899 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.02493, allocations: 246.6 kB / 0.8902 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.02505, allocations: 67.52 kB / 0.8902 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.02511, allocations: 4 kB / 0.8902 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.02522, allocations: 11.98 kB / 0.8903 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.02531, allocations: 15.97 kB / 0.8903 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.02533, allocations: 19.92 kB / 0.8903 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006085/0.02594, allocations: 451 kB / 0.8907 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02594, allocations: 0 / 0.8907 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003317/0.02627, allocations: 59.94 kB / 0.8908 GB, free: 8.684 MB / 0.8542 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.003208/0.02948, allocations: 476.1 kB / 0.8912 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.02988, allocations: 144.2 kB / 0.8914 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02989, allocations: 0 / 0.8914 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.03003, allocations: 67.59 kB / 0.8914 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.03059, allocations: 105.7 kB / 0.8915 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.03199, allocations: 0.77 MB / 0.8923 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.03262, allocations: 258.7 kB / 0.8925 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.03275, allocations: 42.95 kB / 0.8926 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.03285, allocations: 36.48 kB / 0.8926 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.03285, allocations: 4 kB / 0.8926 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of Templates: time 0.01225/0.0451, allocations: 4.595 MB / 0.8971 GB, free: 2.402 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.100333180977032]