Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001315/0.001315, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001556/0.001556, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_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.002061/0.002061, allocations: 63.06 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004177/0.3686, allocations: 2.312 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.3713, allocations: 1.626 MB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.3715, allocations: 7.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.3721, allocations: 187.1 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.3725, allocations: 175.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.3729, allocations: 135.6 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.3732, allocations: 279 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3734, allocations: 36.91 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.3736, allocations: 123.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3738, allocations: 111.5 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.3738, allocations: 16 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.374, allocations: 67.95 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3741, allocations: 99.56 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3742, allocations: 146.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.3747, allocations: 406 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3747, allocations: 4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3747, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3747, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 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.001093/0.3758, allocations: 0.6475 MB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3759, allocations: 16.03 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.3759, allocations: 46.67 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.376, allocations: 52.61 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.3766, allocations: 357.3 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3766, allocations: 8.125 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.3766, allocations: 12 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3768, allocations: 89.64 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3769, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3769, allocations: 8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3769, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.377, allocations: 55.91 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.3778, allocations: 471.5 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.3782, allocations: 106.7 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.3783, allocations: 32.84 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3783, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.3785, allocations: 91.31 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.3785, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004202/0.3789, allocations: 181.2 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.379, allocations: 59.34 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.3796, allocations: 0.5068 MB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3796, allocations: 37.69 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.3798, allocations: 220 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.3799, allocations: 35.73 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.38, allocations: 45.7 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3801, allocations: 358.8 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3802, allocations: 59.97 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.3804, allocations: 76.23 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.3806, allocations: 103 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3806, allocations: 3.938 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003729/0.381, allocations: 211 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.381, allocations: 9.781 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.381, allocations: 4 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.381, allocations: 0 / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3812, allocations: 43.84 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3812, allocations: 7.984 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3813, allocations: 11.95 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.3813, allocations: 11.98 kB / 1.335 GB, free: 8.051 MB / 1.029 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.0001907/0.3815, allocations: 186.3 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.3816, allocations: 47.67 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.3819, allocations: 165.6 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3819, allocations: 0 / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3819, allocations: 0 / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3819, allocations: 0 / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.3822, allocations: 292.5 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3822, allocations: 7.938 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.3823, allocations: 8 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.3823, allocations: 4 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3823, allocations: 4 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3823, allocations: 0 / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3823, allocations: 4 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.3827, allocations: 220.6 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.3828, allocations: 39.69 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.3828, allocations: 11.98 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.3829, allocations: 0 / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.383, allocations: 19.97 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.383, allocations: 4.062 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004072/0.3834, allocations: 362.8 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3834, allocations: 0 / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003635/0.3837, allocations: 47.89 kB / 1.337 GB, free: 6.574 MB / 1.029 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.002182/0.3859, allocations: 1.082 MB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.3862, allocations: 99.86 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3862, allocations: 0 / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3863, allocations: 39.98 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3867, allocations: 74.36 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/0.3909, allocations: 3.183 MB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.3914, allocations: 0.8298 MB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.3915, allocations: 37.92 kB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.3917, allocations: 127.4 kB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3917, allocations: 0 / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.4299, allocations: 7.984 MB / 1.35 GB, free: 9.266 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.71, allocations: 10.5 kB / 1.35 GB, free: 9.258 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.assMes.u from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! Error: Could not read variable assFue.mFue_flow in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.mFue_flow from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.753649932999906]