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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007373/0.007373, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001756/0.001756, allocations: 191.7 kB / 16.68 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 67.84 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7202/0.7216, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004247/0.7259, allocations: 2.278 MB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.728, allocations: 1.44 MB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.7281, allocations: 0 / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.7287, allocations: 179.2 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.7291, allocations: 140.9 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.7294, allocations: 167.5 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.7297, allocations: 263 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.7299, allocations: 56.69 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.7301, allocations: 119.4 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.7302, allocations: 107.4 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.7303, allocations: 16 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.7304, allocations: 67.91 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.7305, allocations: 91.67 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.7306, allocations: 146.8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.731, allocations: 397.7 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7311, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7311, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.7311, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 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.001026/0.7321, allocations: 0.7267 MB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7322, allocations: 8.922 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.7322, allocations: 42.73 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.7323, allocations: 52.55 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.7328, allocations: 416.5 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7328, allocations: 4.125 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.7329, allocations: 12 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.7331, allocations: 89.64 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7331, allocations: 4 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.7331, allocations: 7.984 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.7331, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.7333, allocations: 55.91 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.734, allocations: 496.5 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.7344, allocations: 110.7 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.7345, allocations: 36.84 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.7345, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.7347, allocations: 91.38 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.996e-06/0.7347, allocations: 0 / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0003736/0.7351, allocations: 189.2 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.7351, allocations: 55.72 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.7356, allocations: 0.4911 MB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.7357, allocations: 29.7 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.7358, allocations: 236 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.7359, allocations: 27.78 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.7359, allocations: 49.66 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7361, allocations: 362.8 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.7362, allocations: 47.98 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.7363, allocations: 76.23 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.7365, allocations: 99.92 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7365, allocations: 3.938 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003139/0.7369, allocations: 205.3 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7369, allocations: 8.062 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7369, allocations: 4 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7369, allocations: 0 / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.7371, allocations: 39.92 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7371, allocations: 7.938 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.7372, allocations: 15.88 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.7373, allocations: 12 kB / 1.175 GB, free: 10.04 MB / 0.9044 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.0001691/0.7374, allocations: 192 kB / 1.176 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.7375, allocations: 51.67 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.406e-05/0.7376, allocations: 47.86 kB / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.7376, allocations: 0 / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7376, allocations: 0 / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7376, allocations: 3.984 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.7379, allocations: 317.5 kB / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7379, allocations: 0 / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.7379, allocations: 11.98 kB / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.738, allocations: 0 / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.738, allocations: 0 / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.738, allocations: 4 kB / 1.176 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.738, allocations: 4 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.7383, allocations: 220.6 kB / 1.176 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.7384, allocations: 116.8 kB / 1.176 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.7385, allocations: 4 kB / 1.176 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.7386, allocations: 7.984 kB / 1.176 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.7386, allocations: 12.08 kB / 1.176 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.7386, allocations: 12 kB / 1.176 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003216/0.739, allocations: 350.8 kB / 1.177 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.739, allocations: 0 / 1.177 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002653/0.7392, allocations: 51.94 kB / 1.177 GB, free: 8.57 MB / 0.9044 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.001458/0.7407, allocations: 1.083 MB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.741, allocations: 103.9 kB / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.741, allocations: 0 / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.7411, allocations: 35.98 kB / 1.178 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.7415, allocations: 74.56 kB / 1.178 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.7448, allocations: 3.147 MB / 1.181 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.7451, allocations: 0.826 MB / 1.182 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.7452, allocations: 37.92 kB / 1.182 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.7454, allocations: 127.4 kB / 1.182 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/0.7454, allocations: 0 / 1.182 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.7701, allocations: 7.686 MB / 1.19 GB, free: 11.61 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.892, allocations: 12 kB / 1.19 GB, free: 11.59 MB / 0.92 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches