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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.476/2.476, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7489, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002932/0.7518, allocations: 2.3 MB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.7535, allocations: 1.477 MB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.782e-05/0.7536, allocations: 7.125 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.754, allocations: 182 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.7543, allocations: 132.8 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.7546, allocations: 168.5 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.7548, allocations: 271.3 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.755, allocations: 34.83 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.7551, allocations: 115.9 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.7552, allocations: 115.1 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.7553, allocations: 13.38 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.7554, allocations: 52.36 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.7555, allocations: 103.5 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.7555, allocations: 148.8 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.7559, allocations: 400.3 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7559, allocations: 4 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7559, allocations: 0.7812 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7559, allocations: 0 / 1.277 GB, free: 4.281 MB / 0.9981 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.0007582/0.7567, allocations: 0.72 MB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.7567, allocations: 9 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.7567, allocations: 39.78 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.7568, allocations: 50.02 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.7572, allocations: 416.3 kB / 1.278 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7572, allocations: 13.61 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.7572, allocations: 6 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.7574, allocations: 93.39 kB / 1.278 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.7574, allocations: 7.875 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.7574, allocations: 4.938 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7574, allocations: 1.875 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.7575, allocations: 51.28 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.7581, allocations: 497.3 kB / 1.279 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.7584, allocations: 100.2 kB / 1.279 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.7585, allocations: 29.78 kB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.7585, allocations: 7.016 kB / 1.279 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.7587, allocations: 90.69 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.7587, allocations: 0 / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003257/0.759, allocations: 183.9 kB / 1.279 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.759, allocations: 52.41 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.7595, allocations: 0.4918 MB / 1.28 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.7595, allocations: 36.06 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.7596, allocations: 232.2 kB / 1.28 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.7596, allocations: 24.28 kB / 1.28 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.7597, allocations: 52.5 kB / 1.28 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.7597, allocations: 359.6 kB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.7598, allocations: 48.72 kB / 1.28 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.76, allocations: 73.25 kB / 1.28 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.7601, allocations: 105.7 kB / 1.28 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7601, allocations: 3.938 kB / 1.28 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000328/0.7605, allocations: 214.3 kB / 1.281 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.7605, allocations: 7.094 kB / 1.281 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.7605, allocations: 1.094 kB / 1.281 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7605, allocations: 1.875 kB / 1.281 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.7607, allocations: 34.22 kB / 1.281 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.7607, allocations: 5.312 kB / 1.281 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.7608, allocations: 22.45 kB / 1.281 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.7608, allocations: 7.594 kB / 1.281 GB, free: 1.445 MB / 0.9981 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.000142/0.7609, allocations: 194.5 kB / 1.281 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.761, allocations: 47.39 kB / 1.281 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.7613, allocations: 160.7 kB / 1.281 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7613, allocations: 0.5156 kB / 1.281 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7613, allocations: 1.469 kB / 1.281 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7613, allocations: 4.609 kB / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.7615, allocations: 326.8 kB / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7615, allocations: 0 / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.7616, allocations: 8.312 kB / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7616, allocations: 0.875 kB / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.7616, allocations: 2.906 kB / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7616, allocations: 1.312 kB / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7616, allocations: 0 / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.7619, allocations: 227.7 kB / 1.282 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.7619, allocations: 116.8 kB / 1.282 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.762, allocations: 4.188 kB / 1.282 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.762, allocations: 8.625 kB / 1.282 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.7621, allocations: 15.98 kB / 1.282 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7621, allocations: 1.859 kB / 1.282 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002987/0.7624, allocations: 356.2 kB / 1.282 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7624, allocations: 0 / 1.282 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000242/0.7626, allocations: 51.28 kB / 1.282 GB, free: 496 kB / 0.9981 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.001731/0.7644, allocations: 1.059 MB / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.7646, allocations: 105.2 kB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7646, allocations: 3.938 kB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.7647, allocations: 45.84 kB / 1.283 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.7651, allocations: 62.61 kB / 1.283 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.7685, allocations: 3.148 MB / 1.286 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.7689, allocations: 0.8247 MB / 1.287 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.769, allocations: 35.97 kB / 1.287 GB, free: 13.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.7691, allocations: 134.7 kB / 1.287 GB, free: 12.98 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.7691, allocations: 0 / 1.287 GB, free: 12.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.8014, allocations: 7.732 MB / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.462, allocations: 13.83 kB / 1.295 GB, free: 11.6 MB / 1.014 GB " [Timeout remaining time 291] (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: 13.849527063001005]