Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.001197/0.001197, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001011/0.001011, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.027/1.027, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.887/1.887, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.837e-05, allocations: 6.078 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00493/0.004948, allocations: 2.155 MB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.006773, allocations: 1.432 MB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.006868, allocations: 3.938 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.007305, allocations: 187.5 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.007586, allocations: 179.1 kB / 1.005 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.007767, allocations: 111.6 kB / 1.005 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.007986, allocations: 247 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.008104, allocations: 32.56 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.00823, allocations: 131.6 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.008345, allocations: 83.72 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.008368, allocations: 12 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.296e-05/0.008461, allocations: 55.92 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.008541, allocations: 99.61 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.008607, allocations: 63.67 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.008919, allocations: 358.6 kB / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.008922, allocations: 3.938 kB / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.008923, allocations: 0 / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.008928, allocations: 0 / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000642/0.00957, allocations: 0.6126 MB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.009612, allocations: 13.34 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.009648, allocations: 34.75 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.009702, allocations: 48.66 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.01, allocations: 298.2 kB / 1.007 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.01002, allocations: 12.31 kB / 1.007 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.01003, allocations: 8.312 kB / 1.007 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.01018, allocations: 103.5 kB / 1.007 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.01018, allocations: 0 / 1.007 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.01019, allocations: 4 kB / 1.007 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.0102, allocations: 0 / 1.007 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.01027, allocations: 39.97 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.01075, allocations: 423.6 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.01088, allocations: 66.66 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.01092, allocations: 24.84 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.01093, allocations: 0 / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.01106, allocations: 109 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.01106, allocations: 0 / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.000235/0.01129, allocations: 153.3 kB / 1.008 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.01132, allocations: 51.41 kB / 1.008 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.01173, allocations: 0.5457 MB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.01174, allocations: 41.62 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01186, allocations: 212 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.01188, allocations: 23.83 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.01193, allocations: 45.66 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.01203, allocations: 354.8 kB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.0121, allocations: 52.33 kB / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.01218, allocations: 110.3 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.01229, allocations: 89.7 kB / 1.009 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01229, allocations: 4.031 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002087/0.0125, allocations: 209.2 kB / 1.009 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.01251, allocations: 4 kB / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01252, allocations: 0 / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01253, allocations: 4 kB / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.01261, allocations: 19.98 kB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01261, allocations: 0 / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.01268, allocations: 19.89 kB / 1.009 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.0127, allocations: 7.984 kB / 1.009 GB, free: 4.426 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001253/0.01282, allocations: 185.8 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.01285, allocations: 43.72 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.01302, allocations: 141.6 kB / 1.01 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01303, allocations: 4 kB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01303, allocations: 0 / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01304, allocations: 7.922 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.0132, allocations: 252.6 kB / 1.01 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0132, allocations: 0 / 1.01 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.01322, allocations: 11.94 kB / 1.01 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01323, allocations: 4 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.01323, allocations: 3.984 kB / 1.01 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01324, allocations: 0 / 1.01 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01324, allocations: 0 / 1.01 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.01338, allocations: 164.7 kB / 1.01 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.01342, allocations: 43.64 kB / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.01344, allocations: 4 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.01348, allocations: 4 kB / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.01352, allocations: 15.97 kB / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.01353, allocations: 7.938 kB / 1.01 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002565/0.01378, allocations: 370.8 kB / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01378, allocations: 0 / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001814/0.01397, allocations: 43.98 kB / 1.011 GB, free: 3.066 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001245/0.01521, allocations: 1.056 MB / 1.012 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.01538, allocations: 91.89 kB / 1.012 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01538, allocations: 0 / 1.012 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.01543, allocations: 31.98 kB / 1.012 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.01567, allocations: 69.2 kB / 1.012 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.01821, allocations: 3.101 MB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.01834, allocations: 208.6 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.363e-05/0.01841, allocations: 29.61 kB / 1.015 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.01852, allocations: 124.5 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of SimCode: time 5.31e-07/0.01852, allocations: 0 / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0825/0.101, allocations: 8.286 MB / 1.023 GB, free: 6.238 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.221, allocations: 4.812 kB / 1.023 GB, free: 6.238 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_fmpy_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.080520414747298]