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.001294/0.001294, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00146/0.00146, allocations: 213.6 kB / 23.03 MB, free: 4.922 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.246/3.246, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.001956/0.001956, allocations: 65.95 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 179 MB / 1.345 GB, free: 4 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004104/0.348, allocations: 2.214 MB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.3506, allocations: 1.494 MB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.3508, allocations: 4 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.3514, allocations: 175.1 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.3519, allocations: 183.1 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.3522, allocations: 135.6 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.3526, allocations: 279 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.3527, allocations: 44.89 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3529, allocations: 111.5 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.3531, allocations: 127.4 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.3531, allocations: 12 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3532, allocations: 55.98 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3534, allocations: 103.5 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3535, allocations: 111.1 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.3541, allocations: 406 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3541, allocations: 4 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3541, allocations: 0 / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3541, allocations: 0 / 1.351 GB, free: 10.55 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.001118/0.3552, allocations: 0.6592 MB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3552, allocations: 8.031 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.422e-05/0.3552, allocations: 192 / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.3553, allocations: 42.73 kB / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.3554, allocations: 52.61 kB / 1.351 GB, free: 9.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.3559, allocations: 362.6 kB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3559, allocations: 7.938 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.356, allocations: 12 kB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.3562, allocations: 118.2 kB / 1.352 GB, free: 9.227 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3562, allocations: 4 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3563, allocations: 8 kB / 1.352 GB, free: 9.215 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3563, allocations: 4 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3564, allocations: 59.84 kB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.3572, allocations: 443.7 kB / 1.352 GB, free: 8.676 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.3577, allocations: 102.7 kB / 1.352 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/0.3578, allocations: 36.84 kB / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3578, allocations: 8 kB / 1.352 GB, free: 8.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.358, allocations: 105.1 kB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.358, allocations: 4 kB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0004375/0.3584, allocations: 189.2 kB / 1.353 GB, free: 8.203 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.3585, allocations: 59.34 kB / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.3591, allocations: 0.5068 MB / 1.353 GB, free: 7.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.3591, allocations: 37.64 kB / 1.353 GB, free: 7.574 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3593, allocations: 231.7 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3593, allocations: 23.8 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.3594, allocations: 57.64 kB / 1.354 GB, free: 7.258 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3596, allocations: 358.8 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3597, allocations: 51.98 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.36, allocations: 101.8 kB / 1.354 GB, free: 6.734 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3602, allocations: 116 kB / 1.354 GB, free: 6.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3602, allocations: 0 / 1.354 GB, free: 6.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003651/0.3605, allocations: 213.2 kB / 1.354 GB, free: 6.402 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3606, allocations: 8 kB / 1.354 GB, free: 6.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3606, allocations: 448 / 1.354 GB, free: 6.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3606, allocations: 4 kB / 1.354 GB, free: 6.391 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3608, allocations: 39.91 kB / 1.354 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3608, allocations: 4 kB / 1.354 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.3609, allocations: 11.94 kB / 1.354 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.3609, allocations: 11.98 kB / 1.354 GB, free: 6.324 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.0002201/0.3612, allocations: 187.2 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.3612, allocations: 47.67 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.3616, allocations: 165.6 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3616, allocations: 4 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3616, allocations: 0 / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3616, allocations: 4 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.3619, allocations: 292.4 kB / 1.355 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3619, allocations: 0 / 1.355 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.362, allocations: 8 kB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.362, allocations: 0 / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.362, allocations: 4 kB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.362, allocations: 4 kB / 1.355 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.362, allocations: 0 / 1.355 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.3624, allocations: 240.6 kB / 1.355 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.3625, allocations: 47.67 kB / 1.355 GB, free: 5.266 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.3625, allocations: 4 kB / 1.355 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.3626, allocations: 4 kB / 1.355 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.3627, allocations: 19.91 kB / 1.355 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3627, allocations: 4 kB / 1.355 GB, free: 5.234 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004227/0.3631, allocations: 366.8 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3631, allocations: 0 / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002786/0.3634, allocations: 43.94 kB / 1.356 GB, free: 4.836 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 (10): * Single equations (assignments): 8 * 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.002317/0.3657, allocations: 1.104 MB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.3661, allocations: 113.4 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3661, allocations: 3.938 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.3662, allocations: 39.98 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3666, allocations: 68.73 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.3711, allocations: 3.203 MB / 1.36 GB, free: 388 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3714, allocations: 228.7 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.3716, allocations: 37.92 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.3718, allocations: 131.5 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/0.3718, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.4039, allocations: 8.298 MB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 5.625 kB / 1.369 GB, free: 7.77 MB / 1.061 GB " [Timeout remaining time 287] (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.274731927085668]