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.001833/0.001833, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00225/0.00225, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.809 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.195/3.195, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.002069/0.002069, allocations: 67.2 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004069/0.3449, allocations: 2.228 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.3476, allocations: 1.502 MB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3478, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.3484, allocations: 175.1 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.349, allocations: 175.1 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.3494, allocations: 143.5 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.3498, allocations: 279 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.35, allocations: 40.92 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.3502, allocations: 111.5 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.3504, allocations: 123.4 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.3504, allocations: 12 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3506, allocations: 59.92 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3507, allocations: 99.59 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3508, allocations: 111.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.3514, allocations: 410 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3514, allocations: 4 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3514, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.3514, allocations: 4 kB / 1.331 GB, free: 12.04 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.001452/0.3529, allocations: 0.6474 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3529, allocations: 12.03 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.353, allocations: 38.73 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3531, allocations: 52.61 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.3538, allocations: 357.4 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.3538, allocations: 12.12 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.3538, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.3541, allocations: 124.8 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3542, allocations: 4 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3542, allocations: 4 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3542, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3544, allocations: 51.97 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.3553, allocations: 451.5 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.3557, allocations: 90.7 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.3557, allocations: 28.86 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3558, allocations: 7.984 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.356, allocations: 113 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.356, allocations: 3.938 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004532/0.3565, allocations: 177.2 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3565, allocations: 55.41 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.3571, allocations: 0.5067 MB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.3571, allocations: 29.7 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3573, allocations: 228.1 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.3574, allocations: 39.67 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.785e-05/0.3575, allocations: 49.7 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3577, allocations: 358.8 kB / 1.334 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3578, allocations: 51.97 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.3579, allocations: 101 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.3581, allocations: 111.2 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3581, allocations: 3.938 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003716/0.3585, allocations: 206.4 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3585, allocations: 8.062 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.3585, allocations: 0 / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.3586, allocations: 8 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3588, allocations: 39.91 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3588, allocations: 0 / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.3589, allocations: 19.94 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.359, allocations: 4 kB / 1.335 GB, free: 7.863 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.000235/0.3592, allocations: 191 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.3593, allocations: 47.67 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.3596, allocations: 165.6 kB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3596, allocations: 0 / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3597, allocations: 0 / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3597, allocations: 0 / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.36, allocations: 285 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.36, allocations: 4 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.3601, allocations: 8 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3601, allocations: 0 / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3601, allocations: 4 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3601, allocations: 3.938 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3601, allocations: 0 / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.3605, allocations: 228.7 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.3606, allocations: 43.69 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3607, allocations: 8 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.3608, allocations: 4 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.3608, allocations: 15.97 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3608, allocations: 4 kB / 1.336 GB, free: 6.789 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004223/0.3612, allocations: 362.8 kB / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3612, allocations: 0 / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002851/0.3615, allocations: 55.88 kB / 1.336 GB, free: 6.383 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 (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.00232/0.3639, allocations: 1.105 MB / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.3641, allocations: 97.27 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3641, allocations: 4 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3643, allocations: 39.92 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3647, allocations: 79.45 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.3689, allocations: 3.169 MB / 1.341 GB, free: 1.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3692, allocations: 228.7 kB / 1.341 GB, free: 1.734 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.3693, allocations: 33.94 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.3695, allocations: 131.4 kB / 1.341 GB, free: 1.574 MB / 1.029 GB Notification: Performance of SimCode: time 8.61e-07/0.3695, allocations: 0 / 1.341 GB, free: 1.574 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.4264, allocations: 8.582 MB / 1.35 GB, free: 9.086 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 12.22 kB / 1.35 GB, free: 9.078 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.510442191996844]