Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001249/0.001249, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001561/0.001561, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.409/3.409, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",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.002956/0.002956, allocations: 78.42 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.371, allocations: 179 MB / 1.345 GB, free: 404 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003991/0.375, allocations: 2.307 MB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.3778, allocations: 1.638 MB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.3779, allocations: 4 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.3785, allocations: 179.1 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.379, allocations: 171.2 kB / 1.35 GB, free: 12.08 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.3793, allocations: 143.5 kB / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000392/0.3797, allocations: 283 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3799, allocations: 36.91 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3801, allocations: 119.5 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.3803, allocations: 111.4 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.3803, allocations: 16 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.3804, allocations: 67.89 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3805, allocations: 95.67 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3807, allocations: 150.8 kB / 1.351 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.3812, allocations: 406 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3812, allocations: 7.938 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3812, allocations: 0 / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.3812, allocations: 4 kB / 1.351 GB, free: 10.66 MB / 1.045 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.001135/0.3824, allocations: 0.6475 MB / 1.352 GB, free: 9.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3824, allocations: 12.03 kB / 1.352 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.521e-05/0.3824, allocations: 192 / 1.352 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.3825, allocations: 38.75 kB / 1.352 GB, free: 9.926 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.3826, allocations: 52.55 kB / 1.352 GB, free: 9.875 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.3831, allocations: 361.4 kB / 1.352 GB, free: 9.496 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3831, allocations: 11.94 kB / 1.352 GB, free: 9.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.3832, allocations: 8 kB / 1.352 GB, free: 9.477 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3834, allocations: 104.4 kB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3834, allocations: 0 / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3834, allocations: 3.938 kB / 1.352 GB, free: 9.367 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3834, allocations: 3.938 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3836, allocations: 51.97 kB / 1.352 GB, free: 9.312 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.3844, allocations: 463.6 kB / 1.353 GB, free: 8.816 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.3848, allocations: 102.7 kB / 1.353 GB, free: 8.707 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.3849, allocations: 36.84 kB / 1.353 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3849, allocations: 4 kB / 1.353 GB, free: 8.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.3851, allocations: 87.3 kB / 1.353 GB, free: 8.566 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3851, allocations: 0 / 1.353 GB, free: 8.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0004295/0.3856, allocations: 189.1 kB / 1.353 GB, free: 8.375 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3856, allocations: 51.41 kB / 1.353 GB, free: 8.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.3862, allocations: 0.5107 MB / 1.354 GB, free: 7.793 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3862, allocations: 29.7 kB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3864, allocations: 239.7 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.3865, allocations: 27.78 kB / 1.354 GB, free: 7.492 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.3866, allocations: 49.7 kB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3867, allocations: 358.8 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.3869, allocations: 47.98 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.387, allocations: 80.56 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.3872, allocations: 119.1 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3872, allocations: 0 / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003725/0.3876, allocations: 206.7 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3876, allocations: 4 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3876, allocations: 0 / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3876, allocations: 4 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3878, allocations: 39.92 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3878, allocations: 4.031 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.388, allocations: 15.94 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.388, allocations: 12 kB / 1.355 GB, free: 6.539 MB / 1.045 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.000208/0.3882, allocations: 189.1 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.3883, allocations: 51.67 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3886, allocations: 153.6 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3886, allocations: 4 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3886, allocations: 0 / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3886, allocations: 7.984 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.3889, allocations: 296.5 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3889, allocations: 3.938 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.389, allocations: 12.45 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.389, allocations: 0 / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.389, allocations: 0 / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.389, allocations: 4 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.389, allocations: 0 / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.3894, allocations: 232.6 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.3895, allocations: 39.7 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.3895, allocations: 0 / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.3896, allocations: 11.98 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.3897, allocations: 7.984 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3897, allocations: 4 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004485/0.3902, allocations: 362.8 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3902, allocations: 0 / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003/0.3905, allocations: 47.94 kB / 1.356 GB, free: 5.07 MB / 1.045 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.002279/0.3927, allocations: 1.074 MB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3931, allocations: 103.9 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3931, allocations: 3.938 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.3932, allocations: 39.98 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.3936, allocations: 79.52 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.398, allocations: 3.177 MB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.3985, allocations: 0.826 MB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000152/0.3987, allocations: 33.94 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.3989, allocations: 135.4 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of SimCode: time 1.563e-06/0.3989, allocations: 0 / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.432, allocations: 8.016 MB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.14, allocations: 8.047 kB / 1.369 GB, free: 7.707 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.47480769001413]