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.001277/0.001277, 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.001504/0.001504, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.193/3.193, allocations: 0.49 GB / 0.7959 GB, free: 33.39 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_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.002079/0.002079, allocations: 65.52 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003901/0.3581, allocations: 2.313 MB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.3608, allocations: 1.63 MB / 1.331 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.361, allocations: 4 kB / 1.331 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005804/0.3616, allocations: 179.1 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004414/0.362, allocations: 179.2 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.3623, allocations: 139.5 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.3627, allocations: 279 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3628, allocations: 36.92 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.363, allocations: 119.4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.3632, allocations: 115.5 kB / 1.332 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.3633, allocations: 16 kB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3634, allocations: 59.91 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.3635, allocations: 103.6 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.3636, allocations: 146.9 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.3641, allocations: 410 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3641, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3641, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3641, allocations: 4 kB / 1.332 GB, free: 12.23 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.001082/0.3652, allocations: 0.6513 MB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3652, allocations: 12.03 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.7e-05/0.3653, allocations: 4.188 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/0.3653, allocations: 42.69 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.3654, allocations: 52.61 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.3659, allocations: 361.4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3659, allocations: 7.938 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.366, allocations: 8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3662, allocations: 93.58 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3662, allocations: 7.938 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3662, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3662, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3663, allocations: 51.98 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008005/0.3672, allocations: 467.5 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.3675, allocations: 102.7 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.3676, allocations: 36.78 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3676, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.3678, allocations: 95.3 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3678, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004238/0.3683, allocations: 177.2 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.3683, allocations: 59.41 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.3689, allocations: 0.5107 MB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.3689, allocations: 29.7 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3691, allocations: 220 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.3691, allocations: 39.73 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.3692, allocations: 45.69 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3694, allocations: 362.8 kB / 1.336 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3695, allocations: 43.98 kB / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3696, allocations: 84.8 kB / 1.336 GB, free: 8.512 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3698, allocations: 110.8 kB / 1.336 GB, free: 8.398 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3698, allocations: 4 kB / 1.336 GB, free: 8.395 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003539/0.3702, allocations: 206.7 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3702, allocations: 11.92 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3702, allocations: 0 / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3702, allocations: 4.062 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3704, allocations: 39.92 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3704, allocations: 0 / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3705, allocations: 19.94 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3705, allocations: 4 kB / 1.336 GB, free: 8.109 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.0001943/0.3707, allocations: 191.2 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.3708, allocations: 47.67 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.3711, allocations: 157.6 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3711, allocations: 11.98 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3711, allocations: 0 / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3711, allocations: 0 / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.3714, allocations: 300.5 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3714, allocations: 0 / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.3715, allocations: 11.98 kB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3715, allocations: 0 / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3715, allocations: 4 kB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3715, allocations: 0 / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3715, allocations: 7.938 kB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.3719, allocations: 224.6 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.372, allocations: 31.75 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.372, allocations: 8 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.3721, allocations: 7.984 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3721, allocations: 11.98 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3722, allocations: 4 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003873/0.3725, allocations: 359 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3725, allocations: 4.062 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002811/0.3728, allocations: 59.77 kB / 1.337 GB, free: 6.617 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.002121/0.3749, allocations: 1.066 MB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3753, allocations: 111.8 kB / 1.339 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3753, allocations: 0 / 1.339 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3754, allocations: 39.92 kB / 1.339 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.3758, allocations: 69.8 kB / 1.339 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.38, allocations: 3.183 MB / 1.342 GB, free: 2.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.3805, allocations: 0.826 MB / 1.343 GB, free: 1.352 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.3806, allocations: 37.92 kB / 1.343 GB, free: 1.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3808, allocations: 131.4 kB / 1.343 GB, free: 1.184 MB / 1.029 GB Notification: Performance of SimCode: time 6.72e-07/0.3808, allocations: 0 / 1.343 GB, free: 1.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.4126, allocations: 8.005 MB / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.97, allocations: 14.84 kB / 1.351 GB, free: 9.305 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.86622298799921]