Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.001365/0.001365, allocations: 80.52 kB / 19.96 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.001547/0.001547, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.8865/0.8865, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.801/1.801, allocations: 389.5 MB / 0.6343 GB, free: 12.6 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.AssertFuelFlow,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.932e-05, allocations: 2.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002675/0.002694, allocations: 2.214 MB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.004561, allocations: 1.502 MB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.004711, allocations: 0 / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.005227, allocations: 191.4 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.005645, allocations: 187 kB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.005996, allocations: 131.5 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.006394, allocations: 294.9 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.006557, allocations: 32.91 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.006752, allocations: 151.5 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.006898, allocations: 95.7 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.006929, allocations: 16 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.007062, allocations: 55.86 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.007173, allocations: 103.6 kB / 1.006 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.023e-05/0.007253, allocations: 79.64 kB / 1.006 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.007633, allocations: 394.5 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.007636, allocations: 0 / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007638, allocations: 0 / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.007644, allocations: 0 / 1.006 GB, free: 8.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007848/0.008428, allocations: 0.6474 MB / 1.007 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.008469, allocations: 13.34 kB / 1.007 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.008503, allocations: 34.75 kB / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.008562, allocations: 56.55 kB / 1.007 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.008924, allocations: 352.7 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.008938, allocations: 4.375 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.008959, allocations: 12.38 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.00914, allocations: 123.4 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.009147, allocations: 3.938 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.00916, allocations: 8 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.009165, allocations: 0 / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.967e-05/0.009264, allocations: 51.97 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.009834, allocations: 447.6 kB / 1.008 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.01, allocations: 86.67 kB / 1.008 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.01006, allocations: 32.89 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.01008, allocations: 4 kB / 1.008 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.01023, allocations: 113 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.01023, allocations: 0 / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002743/0.0105, allocations: 181.2 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.01053, allocations: 59.34 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.01089, allocations: 0.5106 MB / 1.009 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.0109, allocations: 29.7 kB / 1.009 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.01102, allocations: 228 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.01106, allocations: 35.86 kB / 1.009 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.01111, allocations: 45.7 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.01121, allocations: 358.8 kB / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.01128, allocations: 47.98 kB / 1.009 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.01137, allocations: 101.8 kB / 1.009 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.01148, allocations: 107.7 kB / 1.01 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01149, allocations: 4.031 kB / 1.01 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002041/0.01169, allocations: 217.2 kB / 1.01 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.0117, allocations: 4 kB / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01171, allocations: 0 / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01172, allocations: 4 kB / 1.01 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01184, allocations: 35.86 kB / 1.01 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01184, allocations: 4 kB / 1.01 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.01191, allocations: 23.88 kB / 1.01 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.01193, allocations: 4 kB / 1.01 GB, free: 3.906 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.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001331/0.01206, allocations: 200.4 kB / 1.01 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.01209, allocations: 47.66 kB / 1.01 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.01229, allocations: 157.7 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01229, allocations: 4 kB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.0123, allocations: 0 / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.0123, allocations: 0 / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.01249, allocations: 276.6 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01249, allocations: 0 / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.01253, allocations: 11.98 kB / 1.01 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.01254, allocations: 8.406 kB / 1.01 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.01255, allocations: 4 kB / 1.01 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01255, allocations: 0 / 1.01 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01255, allocations: 0 / 1.01 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.01278, allocations: 224.6 kB / 1.011 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.01281, allocations: 43.69 kB / 1.011 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.01284, allocations: 4 kB / 1.011 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-05/0.01288, allocations: 11.98 kB / 1.011 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.01293, allocations: 7.984 kB / 1.011 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.01294, allocations: 7.984 kB / 1.011 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002417/0.01318, allocations: 362.9 kB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01318, allocations: 0 / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000188/0.01337, allocations: 47.89 kB / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001063/0.01443, allocations: 1.121 MB / 1.012 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01461, allocations: 106.2 kB / 1.012 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01461, allocations: 0 / 1.012 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/0.01467, allocations: 39.92 kB / 1.012 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01493, allocations: 66.33 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.01747, allocations: 3.133 MB / 1.016 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.01761, allocations: 216.8 kB / 1.016 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.96e-05/0.0177, allocations: 41.92 kB / 1.016 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.01781, allocations: 132.4 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of SimCode: time 8.42e-07/0.01782, allocations: 0 / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08168/0.0995, allocations: 8.694 MB / 1.024 GB, free: 5.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.931, allocations: 18.17 kB / 1.024 GB, free: 5.055 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.355529630556703]