Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 102 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.778/2.778, allocations: 443.5 MB / 0.7287 GB, free: 14.64 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 1.056 GB, free: 2.543 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 160.7 MB / 1.213 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003926/0.3437, allocations: 2.302 MB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3462, allocations: 1.452 MB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.3464, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006579/0.347, allocations: 183.1 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.3474, allocations: 135.3 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.3479, allocations: 167.4 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.3483, allocations: 263.1 kB / 1.217 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3485, allocations: 44.72 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.3487, allocations: 115.5 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3488, allocations: 119.4 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.3489, allocations: 12 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.349, allocations: 51.98 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.3492, allocations: 99.61 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3494, allocations: 150.9 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005462/0.3499, allocations: 394 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3499, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3499, allocations: 4 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.3499, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 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.00123/0.3511, allocations: 0.7305 MB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3512, allocations: 12.03 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.3512, allocations: 38.73 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.3513, allocations: 52.61 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.3519, allocations: 404.6 kB / 1.219 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.3519, allocations: 16.12 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.352, allocations: 4 kB / 1.219 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.3522, allocations: 105.5 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3522, allocations: 0 / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3523, allocations: 0 / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3523, allocations: 0 / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.3524, allocations: 51.97 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008731/0.3533, allocations: 496.5 kB / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.3537, allocations: 102.7 kB / 1.22 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.3538, allocations: 28.84 kB / 1.22 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3538, allocations: 8 kB / 1.22 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.354, allocations: 95.23 kB / 1.22 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.354, allocations: 3.938 kB / 1.22 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.000422/0.3544, allocations: 185.2 kB / 1.22 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3545, allocations: 51.41 kB / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.355, allocations: 0.4951 MB / 1.221 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3551, allocations: 33.7 kB / 1.221 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.3552, allocations: 228 kB / 1.221 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3553, allocations: 27.78 kB / 1.221 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.274e-05/0.3554, allocations: 53.66 kB / 1.221 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3555, allocations: 358.8 kB / 1.222 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3557, allocations: 51.97 kB / 1.222 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.3558, allocations: 70.55 kB / 1.222 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.356, allocations: 107.7 kB / 1.222 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.356, allocations: 3.938 kB / 1.222 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003499/0.3564, allocations: 211.3 kB / 1.222 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3564, allocations: 6.188 kB / 1.222 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3564, allocations: 0 / 1.222 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3564, allocations: 0 / 1.222 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3566, allocations: 39.97 kB / 1.222 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3566, allocations: 0 / 1.222 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.3567, allocations: 19.98 kB / 1.222 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.3567, allocations: 7.984 kB / 1.222 GB, free: 7.746 MB / 0.9669 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.0002049/0.3569, allocations: 191.3 kB / 1.222 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.357, allocations: 47.67 kB / 1.222 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.665e-05/0.3571, allocations: 47.91 kB / 1.222 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3571, allocations: 0 / 1.222 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3571, allocations: 8 kB / 1.222 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3571, allocations: 0 / 1.222 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.3574, allocations: 317.4 kB / 1.223 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3574, allocations: 4 kB / 1.223 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-05/0.3575, allocations: 11.98 kB / 1.223 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3575, allocations: 0 / 1.223 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3575, allocations: 4 kB / 1.223 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3575, allocations: 0 / 1.223 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3575, allocations: 384 / 1.223 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.3579, allocations: 228.6 kB / 1.223 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.358, allocations: 116.8 kB / 1.223 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.358, allocations: 8.062 kB / 1.223 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.3581, allocations: 7.984 kB / 1.223 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.3582, allocations: 11.92 kB / 1.223 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3582, allocations: 7.984 kB / 1.223 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003944/0.3586, allocations: 358.8 kB / 1.223 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 0 / 1.223 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002711/0.3589, allocations: 47.92 kB / 1.224 GB, free: 6.266 MB / 0.9669 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * 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.002112/0.361, allocations: 1.079 MB / 1.225 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.3613, allocations: 99.89 kB / 1.225 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3613, allocations: 4 kB / 1.225 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3614, allocations: 39.92 kB / 1.225 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3618, allocations: 58.34 kB / 1.225 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.3658, allocations: 3.156 MB / 1.228 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.3662, allocations: 0.8188 MB / 1.229 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.3664, allocations: 37.92 kB / 1.229 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.3665, allocations: 127.4 kB / 1.229 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.3665, allocations: 4 kB / 1.229 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.4009, allocations: 7.736 MB / 1.236 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/8.9, allocations: 7.984 kB / 1.236 GB, free: 9.277 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.189073302783072]