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.001358/0.001358, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001489/0.001489, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.016 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.807/2.807, allocations: 476.7 MB / 0.7707 GB, free: 4.297 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.002068/0.002068, allocations: 69.78 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4066, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004204/0.4108, allocations: 2.31 MB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.4136, allocations: 1.622 MB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.4138, allocations: 7.938 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.4144, allocations: 187.1 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.4149, allocations: 175.2 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.4153, allocations: 127.6 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.4157, allocations: 287 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.4158, allocations: 44.84 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.4161, allocations: 119.4 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.4162, allocations: 123.4 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.4163, allocations: 12 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.4164, allocations: 59.91 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4166, allocations: 103.7 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.4167, allocations: 150.8 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.4173, allocations: 402.2 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4173, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4173, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.4173, allocations: 0 / 1.289 GB, free: 6.012 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.001232/0.4185, allocations: 0.663 MB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4186, allocations: 8.031 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.4186, allocations: 42.73 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.4187, allocations: 52.61 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.4193, allocations: 349.4 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4193, allocations: 12.06 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.4193, allocations: 12 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.4196, allocations: 93.64 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4196, allocations: 0 / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4196, allocations: 4 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.4196, allocations: 4 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.4197, allocations: 51.91 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008536/0.4206, allocations: 471.5 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.421, allocations: 106.7 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.4211, allocations: 36.77 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.4211, allocations: 7.938 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.4213, allocations: 83.38 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4213, allocations: 4 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004121/0.4217, allocations: 181.5 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.4218, allocations: 55.39 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.4224, allocations: 0.5107 MB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.4224, allocations: 29.8 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.4226, allocations: 224 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.4227, allocations: 35.73 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.829e-05/0.4228, allocations: 45.7 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.423, allocations: 362.8 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.4231, allocations: 47.97 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.4232, allocations: 82.48 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.4235, allocations: 103.9 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4235, allocations: 3.938 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003822/0.4239, allocations: 217.2 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4239, allocations: 4 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4239, allocations: 4 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4239, allocations: 4 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.4241, allocations: 35.97 kB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.4241, allocations: 0 / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.4242, allocations: 15.95 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.4242, allocations: 11.98 kB / 1.293 GB, free: 1.879 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.0002366/0.4245, allocations: 196.5 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.4245, allocations: 43.72 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.4249, allocations: 157.6 kB / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4249, allocations: 0 / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4249, allocations: 0 / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4249, allocations: 0 / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.4252, allocations: 300.4 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4252, allocations: 0 / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.4253, allocations: 8 kB / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4253, allocations: 4 kB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4253, allocations: 11.98 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4253, allocations: 0 / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4253, allocations: 7.875 kB / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.4257, allocations: 220.7 kB / 1.294 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.4258, allocations: 39.73 kB / 1.294 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.4258, allocations: 4 kB / 1.294 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.4259, allocations: 4.062 kB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.426, allocations: 19.97 kB / 1.294 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.426, allocations: 4 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004135/0.4264, allocations: 354.8 kB / 1.294 GB, free: 472 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4264, allocations: 0 / 1.294 GB, free: 472 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002834/0.4267, allocations: 59.88 kB / 1.294 GB, free: 412 kB / 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 (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 (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.002292/0.429, allocations: 1.065 MB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4293, allocations: 99.91 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4293, allocations: 0 / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.4294, allocations: 39.92 kB / 1.295 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.4298, allocations: 68.03 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.4341, allocations: 3.186 MB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.4345, allocations: 0.8267 MB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.4347, allocations: 41.92 kB / 1.299 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.4349, allocations: 127.4 kB / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/0.4349, allocations: 0 / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.4739, allocations: 7.985 MB / 1.307 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.77, allocations: 6.609 kB / 1.307 GB, free: 3.102 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.848888634000105]