Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001669/0.001668, allocations: 112.4 kB / 17.08 MB, free: 5.949 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.001954/0.001954, allocations: 192.7 kB / 20.03 MB, free: 3.027 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.465/1.465, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.682/2.682, allocations: 437.1 MB / 0.7177 GB, free: 4.582 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.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 63.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2995, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004125/0.3036, allocations: 2.464 MB / 1.178 GB, free: 3.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.3065, allocations: 1.565 MB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.3068, allocations: 8 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.3078, allocations: 322.6 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005237/0.3083, allocations: 219 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007528/0.3091, allocations: 266.9 kB / 1.181 GB, free: 1.047 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.3096, allocations: 390.8 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.3098, allocations: 76.69 kB / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.3101, allocations: 155.3 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.3103, allocations: 167.2 kB / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.3104, allocations: 20 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.3106, allocations: 75.95 kB / 1.181 GB, free: 184 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.3108, allocations: 127.5 kB / 1.182 GB, free: 56 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.3111, allocations: 194.7 kB / 1.182 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.3117, allocations: 0.4975 MB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3117, allocations: 4 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3117, allocations: 0 / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3118, allocations: 4 kB / 1.182 GB, free: 15.36 MB / 0.9356 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.001317/0.3131, allocations: 0.8489 MB / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3131, allocations: 12.03 kB / 1.183 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3132, allocations: 60.52 kB / 1.183 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.3139, allocations: 441.4 kB / 1.184 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3139, allocations: 15.94 kB / 1.184 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.314, allocations: 15.92 kB / 1.184 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.3143, allocations: 145.3 kB / 1.184 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3143, allocations: 0 / 1.184 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.3143, allocations: 4 kB / 1.184 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3144, allocations: 7.938 kB / 1.184 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.3145, allocations: 63.97 kB / 1.184 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009202/0.3155, allocations: 0.5784 MB / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.3158, allocations: 126.7 kB / 1.184 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3159, allocations: 40.84 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.316, allocations: 4 kB / 1.185 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.3162, allocations: 111.3 kB / 1.185 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3162, allocations: 0 / 1.185 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005702/0.3168, allocations: 237.4 kB / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.3169, allocations: 85.05 kB / 1.185 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007993/0.3177, allocations: 0.6799 MB / 1.186 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.3177, allocations: 37.7 kB / 1.186 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.318, allocations: 268.4 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.3181, allocations: 35.73 kB / 1.186 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.3182, allocations: 53.7 kB / 1.186 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3184, allocations: 374.7 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3185, allocations: 71.97 kB / 1.186 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3188, allocations: 125 kB / 1.187 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.3191, allocations: 136.9 kB / 1.187 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.3191, allocations: 7.875 kB / 1.187 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004661/0.3195, allocations: 269.1 kB / 1.187 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3196, allocations: 4 kB / 1.187 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3196, allocations: 4.062 kB / 1.187 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3196, allocations: 4 kB / 1.187 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3198, allocations: 43.91 kB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3198, allocations: 0 / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.32, allocations: 23.88 kB / 1.187 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.32, allocations: 8 kB / 1.187 GB, free: 10.2 MB / 0.9356 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.000247/0.3202, allocations: 211.5 kB / 1.187 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.3203, allocations: 63.56 kB / 1.187 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.882e-05/0.3204, allocations: 57.05 kB / 1.187 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3204, allocations: 4 kB / 1.187 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3205, allocations: 48 / 1.187 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3205, allocations: 7.922 kB / 1.187 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.3209, allocations: 365.4 kB / 1.188 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3209, allocations: 3.938 kB / 1.188 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.3209, allocations: 11.98 kB / 1.188 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3209, allocations: 0 / 1.188 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.321, allocations: 8 kB / 1.188 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.321, allocations: 0 / 1.188 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.321, allocations: 4 kB / 1.188 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.3214, allocations: 214.5 kB / 1.188 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3215, allocations: 140.6 kB / 1.188 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.3216, allocations: 8 kB / 1.188 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3217, allocations: 11.98 kB / 1.188 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.3217, allocations: 19.92 kB / 1.188 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3218, allocations: 11.98 kB / 1.188 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006462/0.3224, allocations: 463 kB / 1.189 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3224, allocations: 0 / 1.189 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003153/0.3228, allocations: 67.88 kB / 1.189 GB, free: 8.465 MB / 0.9356 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001568/0.3243, allocations: 436.4 kB / 1.189 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000399/0.3247, allocations: 158.3 kB / 1.189 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3248, allocations: 4.125 kB / 1.189 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3249, allocations: 55.92 kB / 1.189 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3254, allocations: 95.41 kB / 1.189 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3268, allocations: 0.8919 MB / 1.19 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.3274, allocations: 0.8617 MB / 1.191 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.3275, allocations: 35.42 kB / 1.191 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of SimCode: time 4.3e-07/0.3275, allocations: 0 / 1.191 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of Templates: time 0.009764/0.3372, allocations: 5.755 MB / 1.197 GB, free: 356 kB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.360530833015218]