Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001786/0.001786, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002297/0.002297, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7672 GB, free: 5.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 66.08 kB / 1.112 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8621, allocations: 169.9 MB / 1.278 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004315/0.8664, allocations: 2.308 MB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003521/0.8699, allocations: 1.599 MB / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.8703, allocations: 7.938 kB / 1.282 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.8714, allocations: 187.1 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007037/0.8721, allocations: 175.2 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.8726, allocations: 135.5 kB / 1.283 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.8731, allocations: 283 kB / 1.283 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.8733, allocations: 44.7 kB / 1.283 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.8736, allocations: 115.5 kB / 1.283 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.8738, allocations: 119.4 kB / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.8738, allocations: 15.98 kB / 1.283 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.874, allocations: 63.97 kB / 1.283 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.8741, allocations: 99.55 kB / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.8743, allocations: 150.8 kB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.875, allocations: 396.1 kB / 1.284 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.875, allocations: 0 / 1.284 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.875, allocations: 0 / 1.284 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.875, allocations: 0 / 1.284 GB, free: 7.668 MB / 0.9825 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.001247/0.8762, allocations: 0.7461 MB / 1.285 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.8763, allocations: 8.031 kB / 1.285 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.8763, allocations: 38.75 kB / 1.285 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.8764, allocations: 48.61 kB / 1.285 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.8771, allocations: 424.5 kB / 1.285 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.8771, allocations: 12.12 kB / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.8771, allocations: 8 kB / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.8774, allocations: 97.64 kB / 1.285 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8774, allocations: 0 / 1.285 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.8774, allocations: 0 / 1.285 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8774, allocations: 0 / 1.285 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.8776, allocations: 51.97 kB / 1.285 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.8785, allocations: 0.4887 MB / 1.286 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.8789, allocations: 106.7 kB / 1.286 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.655e-05/0.879, allocations: 32.84 kB / 1.286 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.879, allocations: 4 kB / 1.286 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.8793, allocations: 79.38 kB / 1.286 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.8793, allocations: 4 kB / 1.286 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004739/0.8797, allocations: 185.5 kB / 1.286 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.8798, allocations: 55.39 kB / 1.286 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.8805, allocations: 0.5106 MB / 1.287 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.8805, allocations: 25.7 kB / 1.287 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.8807, allocations: 232 kB / 1.287 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.8807, allocations: 31.88 kB / 1.287 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.8808, allocations: 49.7 kB / 1.287 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.8811, allocations: 362.8 kB / 1.287 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.8812, allocations: 55.91 kB / 1.287 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.8813, allocations: 72.98 kB / 1.287 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.8816, allocations: 99.94 kB / 1.287 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8816, allocations: 3.938 kB / 1.287 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003923/0.882, allocations: 217.2 kB / 1.288 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.882, allocations: 4 kB / 1.288 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.882, allocations: 0 / 1.288 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.882, allocations: 4 kB / 1.288 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.8822, allocations: 43.91 kB / 1.288 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8822, allocations: 0 / 1.288 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.8823, allocations: 15.89 kB / 1.288 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.8824, allocations: 15.98 kB / 1.288 GB, free: 3.332 MB / 0.9825 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.0002225/0.8826, allocations: 196.4 kB / 1.288 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.8826, allocations: 43.72 kB / 1.288 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.8827, allocations: 48.03 kB / 1.288 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.8827, allocations: 0 / 1.288 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8827, allocations: 0 / 1.288 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.8827, allocations: 0 / 1.288 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.8831, allocations: 329.4 kB / 1.288 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8831, allocations: 0 / 1.288 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.8832, allocations: 11.94 kB / 1.288 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.8832, allocations: 0 / 1.288 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.8832, allocations: 4 kB / 1.288 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8832, allocations: 4 kB / 1.288 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8832, allocations: 3.984 kB / 1.288 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.8837, allocations: 220.8 kB / 1.289 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.8838, allocations: 116.8 kB / 1.289 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.8838, allocations: 3.984 kB / 1.289 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.8839, allocations: 8 kB / 1.289 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.884, allocations: 12.05 kB / 1.289 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.884, allocations: 11.97 kB / 1.289 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004233/0.8844, allocations: 358.8 kB / 1.289 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8844, allocations: 3.938 kB / 1.289 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003347/0.8848, allocations: 51.89 kB / 1.289 GB, free: 1.84 MB / 0.9825 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002354/0.8871, allocations: 1.069 MB / 1.29 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.8875, allocations: 105.5 kB / 1.29 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8875, allocations: 4 kB / 1.29 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.8876, allocations: 31.98 kB / 1.29 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.888, allocations: 66.25 kB / 1.29 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.8923, allocations: 3.174 MB / 1.293 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.8928, allocations: 0.8299 MB / 1.294 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.8929, allocations: 29.95 kB / 1.294 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.8931, allocations: 135.3 kB / 1.294 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of SimCode: time 1.442e-06/0.8931, allocations: 0 / 1.294 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.932, allocations: 7.834 MB / 1.302 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.766/9.698, allocations: 26.12 kB / 1.302 GB, free: 4.695 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable assFue.assMes.u in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.assMes.u from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! Error: Could not read variable assFue.mFue_flow in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.mFue_flow from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.181180787971243]