Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00512/0.00512, allocations: 99.94 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 198.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.89 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7202, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003376/0.7236, allocations: 2.259 MB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.7256, allocations: 1.446 MB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.7257, allocations: 6.125 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.7264, allocations: 189.5 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.7267, allocations: 135.9 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.7272, allocations: 167.5 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.7275, allocations: 267.1 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.7277, allocations: 54.91 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.7278, allocations: 106.5 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.728, allocations: 114.9 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.728, allocations: 13.25 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.7282, allocations: 59.5 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.7283, allocations: 92.48 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.7284, allocations: 150.8 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.7289, allocations: 396.4 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7289, allocations: 4 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7289, allocations: 0.8125 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.7289, allocations: 0 / 1.093 GB, free: 1.84 MB / 0.8575 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.000928/0.7298, allocations: 0.7002 MB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7299, allocations: 17.78 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.7299, allocations: 39.69 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.73, allocations: 49.56 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.7305, allocations: 408 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.7305, allocations: 7.031 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.7306, allocations: 10 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.7308, allocations: 94.45 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7308, allocations: 0 / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.7308, allocations: 5.625 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.7308, allocations: 1.438 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.7309, allocations: 54.72 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.7317, allocations: 497.7 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.732, allocations: 110.8 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.7321, allocations: 31.64 kB / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.7321, allocations: 2.422 kB / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.7323, allocations: 94.48 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.7323, allocations: 0 / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003695/0.7327, allocations: 187.1 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.7327, allocations: 53.03 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.7333, allocations: 0.4959 MB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.7334, allocations: 31.67 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.7335, allocations: 232.4 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.7336, allocations: 22.92 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.7337, allocations: 45.45 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7338, allocations: 360.1 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.734, allocations: 54.23 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.7341, allocations: 75.23 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.7343, allocations: 102.1 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.7343, allocations: 3.938 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003564/0.7347, allocations: 207.1 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7347, allocations: 6.609 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7347, allocations: 4 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.7347, allocations: 6.344 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.7349, allocations: 38.08 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7349, allocations: 1.188 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.7351, allocations: 13.5 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.7351, allocations: 11.5 kB / 1.097 GB, free: 15.03 MB / 0.8731 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.0001913/0.7353, allocations: 189.9 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.7354, allocations: 52.12 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.849e-05/0.7354, allocations: 46.64 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7355, allocations: 1.562 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7355, allocations: 0 / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7355, allocations: 1.297 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.7358, allocations: 322.6 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7358, allocations: 0 / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.7359, allocations: 9.672 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7359, allocations: 0 / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.7359, allocations: 3.406 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7359, allocations: 0 / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7359, allocations: 5.625 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.7363, allocations: 218.9 kB / 1.097 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.7364, allocations: 120.3 kB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.7364, allocations: 1.797 kB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.7365, allocations: 10.47 kB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.7366, allocations: 13.52 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.7366, allocations: 8 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003914/0.737, allocations: 361.5 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.737, allocations: 0 / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002745/0.7373, allocations: 47.69 kB / 1.098 GB, free: 14.13 MB / 0.8731 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.001476/0.7388, allocations: 1.062 MB / 1.099 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.7391, allocations: 111.4 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7391, allocations: 1.031 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.7392, allocations: 38.31 kB / 1.099 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.7396, allocations: 75.38 kB / 1.099 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.7436, allocations: 3.12 MB / 1.102 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.7441, allocations: 0.8278 MB / 1.103 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.7443, allocations: 40.75 kB / 1.103 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.7445, allocations: 128.1 kB / 1.103 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/0.7445, allocations: 0.5 kB / 1.103 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1733/0.9178, allocations: 7.687 MB / 1.111 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.274/10.19, allocations: 17.16 kB / 1.111 GB, free: 9.379 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches