Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008574/0.0008574, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008265/0.0008265, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8711/0.8711, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.726/1.726, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.182e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002803/0.002824, allocations: 2.406 MB / 0.9846 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.004503, allocations: 1.625 MB / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.004619, allocations: 7.938 kB / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007225/0.005341, allocations: 322.5 kB / 0.9865 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.005696, allocations: 274.8 kB / 0.9867 GB, free: 13.42 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.005976, allocations: 199.4 kB / 0.9869 GB, free: 13.23 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.006278, allocations: 422.5 kB / 0.9873 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.006397, allocations: 64.81 kB / 0.9874 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.006575, allocations: 215.5 kB / 0.9876 GB, free: 12.54 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.006719, allocations: 147.6 kB / 0.9877 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.006748, allocations: 23.94 kB / 0.9878 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.006874, allocations: 87.78 kB / 0.9878 GB, free: 12.29 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.006974, allocations: 135.5 kB / 0.988 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.007059, allocations: 99.58 kB / 0.9881 GB, free: 12.05 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.007466, allocations: 0.5021 MB / 0.9886 GB, free: 11.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.007468, allocations: 0 / 0.9886 GB, free: 11.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007469, allocations: 0 / 0.9886 GB, free: 11.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.007474, allocations: 0 / 0.9886 GB, free: 11.55 MB / 0.948 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.0008054/0.00828, allocations: 0.7878 MB / 0.9893 GB, free: 10.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.008312, allocations: 8.031 kB / 0.9893 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.008383, allocations: 60.56 kB / 0.9894 GB, free: 10.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.008762, allocations: 382.5 kB / 0.9898 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.00878, allocations: 12.56 kB / 0.9898 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.008797, allocations: 8.375 kB / 0.9898 GB, free: 10.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.008996, allocations: 151.2 kB / 0.9899 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.009004, allocations: 0 / 0.9899 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.009015, allocations: 4 kB / 0.9899 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.00902, allocations: 4 kB / 0.9899 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.009136, allocations: 75.89 kB / 0.99 GB, free: 9.996 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.009694, allocations: 0.5001 MB / 0.9905 GB, free: 9.465 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.009885, allocations: 118.8 kB / 0.9906 GB, free: 9.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.00995, allocations: 48.83 kB / 0.9906 GB, free: 9.289 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.009968, allocations: 4 kB / 0.9906 GB, free: 9.285 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.01039, allocations: 144.2 kB / 0.9908 GB, free: 9.129 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.01039, allocations: 4 kB / 0.9908 GB, free: 9.125 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0003379/0.01073, allocations: 241.2 kB / 0.991 GB, free: 8.883 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.01076, allocations: 51.41 kB / 0.9911 GB, free: 8.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.01127, allocations: 0.7073 MB / 0.9918 GB, free: 8.105 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01129, allocations: 33.69 kB / 0.9918 GB, free: 8.066 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.01144, allocations: 268.5 kB / 0.992 GB, free: 7.801 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.01147, allocations: 39.73 kB / 0.9921 GB, free: 7.762 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.01153, allocations: 57.64 kB / 0.9921 GB, free: 7.699 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.01164, allocations: 382.7 kB / 0.9925 GB, free: 7.316 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.481e-05/0.01173, allocations: 75.95 kB / 0.9926 GB, free: 7.242 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.01186, allocations: 171.7 kB / 0.9927 GB, free: 7.047 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.01201, allocations: 132.8 kB / 0.9929 GB, free: 6.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01202, allocations: 4 kB / 0.9929 GB, free: 6.906 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002725/0.01229, allocations: 286.7 kB / 0.9931 GB, free: 6.621 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.0123, allocations: 12.09 kB / 0.9932 GB, free: 6.609 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01231, allocations: 3.938 kB / 0.9932 GB, free: 6.605 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.01232, allocations: 0 / 0.9932 GB, free: 6.605 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.01242, allocations: 31.98 kB / 0.9932 GB, free: 6.574 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.01242, allocations: 3.938 kB / 0.9932 GB, free: 6.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.01251, allocations: 27.88 kB / 0.9932 GB, free: 6.543 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.01252, allocations: 11.92 kB / 0.9932 GB, free: 6.531 MB / 0.948 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.0001523/0.01268, allocations: 211.7 kB / 0.9934 GB, free: 6.316 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.01272, allocations: 63.62 kB / 0.9935 GB, free: 6.254 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.01297, allocations: 226.7 kB / 0.9937 GB, free: 6.023 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01298, allocations: 4 kB / 0.9937 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.01298, allocations: 7.938 kB / 0.9937 GB, free: 6.012 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01299, allocations: 0 / 0.9937 GB, free: 6.012 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.01318, allocations: 293.1 kB / 0.994 GB, free: 5.695 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01318, allocations: 0 / 0.994 GB, free: 5.695 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.01321, allocations: 8 kB / 0.994 GB, free: 5.688 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01321, allocations: 4 kB / 0.994 GB, free: 5.684 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.01322, allocations: 4 kB / 0.994 GB, free: 5.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01322, allocations: 4 kB / 0.994 GB, free: 5.676 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01322, allocations: 3.984 kB / 0.994 GB, free: 5.672 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.01344, allocations: 255.7 kB / 0.9943 GB, free: 5.406 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.01348, allocations: 55.56 kB / 0.9943 GB, free: 5.352 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.01351, allocations: 7.984 kB / 0.9943 GB, free: 5.344 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.52e-05/0.01357, allocations: 8 kB / 0.9943 GB, free: 5.336 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.01361, allocations: 19.97 kB / 0.9944 GB, free: 5.316 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01363, allocations: 11.92 kB / 0.9944 GB, free: 5.305 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003359/0.01396, allocations: 483 kB / 0.9948 GB, free: 4.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01396, allocations: 8 kB / 0.9948 GB, free: 4.832 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002008/0.01416, allocations: 63.92 kB / 0.9949 GB, free: 4.77 MB / 0.948 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.0006882/0.01485, allocations: 458.5 kB / 0.9953 GB, free: 4.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.01509, allocations: 151.8 kB / 0.9955 GB, free: 4.352 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01509, allocations: 0 / 0.9955 GB, free: 4.352 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.01517, allocations: 63.91 kB / 0.9955 GB, free: 4.289 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.01545, allocations: 94.77 kB / 0.9956 GB, free: 4.203 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.01629, allocations: 0.8944 MB / 0.9965 GB, free: 3.273 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.01646, allocations: 262.7 kB / 0.9968 GB, free: 2.992 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.01651, allocations: 40.48 kB / 0.9968 GB, free: 2.953 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/0.01651, allocations: 0 / 0.9968 GB, free: 2.953 MB / 0.948 GB Notification: Performance of Templates: time 0.005562/0.02208, allocations: 6.137 MB / 1.003 GB, free: 12.86 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.066106826998293]