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.005247/0.005247, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001184/0.001184, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 66.67 kB / 0.9504 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.26, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003531/0.2635, allocations: 2.26 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.2658, allocations: 1.44 MB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.266, allocations: 4 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.2666, allocations: 194.3 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.267, allocations: 139.3 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.2675, allocations: 160.6 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.2679, allocations: 271 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.2681, allocations: 60.69 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2683, allocations: 107.5 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2684, allocations: 115.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.2685, allocations: 12 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.2686, allocations: 55.97 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2687, allocations: 91.67 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2689, allocations: 154.8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.2694, allocations: 395.3 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2694, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2694, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.2694, allocations: 0 / 1.093 GB, free: 12.52 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.001059/0.2705, allocations: 0.709 MB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2705, allocations: 12.03 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.2705, allocations: 34.75 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.538e-05/0.2706, allocations: 52.28 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.2712, allocations: 408 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2712, allocations: 16.11 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.2712, allocations: 8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.2715, allocations: 99.84 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2715, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2715, allocations: 3.984 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2715, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.2716, allocations: 43.98 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.2724, allocations: 0.4886 MB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.2728, allocations: 106.7 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.2729, allocations: 36.8 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.273, allocations: 7.984 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.2731, allocations: 87.38 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.2732, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003921/0.2735, allocations: 185.2 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.2736, allocations: 51.41 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.2741, allocations: 0.4988 MB / 1.096 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2742, allocations: 29.7 kB / 1.096 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2743, allocations: 223.7 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.2744, allocations: 23.8 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.2744, allocations: 53.69 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2746, allocations: 358.8 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2747, allocations: 51.97 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2748, allocations: 80.17 kB / 1.096 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.275, allocations: 95.59 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2751, allocations: 3.938 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003488/0.2754, allocations: 212.9 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2754, allocations: 4 kB / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2754, allocations: 0 / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2755, allocations: 4 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.2756, allocations: 43.97 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2757, allocations: 3.938 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.2758, allocations: 15.92 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.2759, allocations: 8 kB / 1.097 GB, free: 8.258 MB / 0.8575 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.000181/0.276, allocations: 190.8 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.2761, allocations: 43.44 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.54e-05/0.2762, allocations: 47.91 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2762, allocations: 4 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2762, allocations: 0 / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2762, allocations: 3.938 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.2765, allocations: 325.3 kB / 1.097 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2765, allocations: 4 kB / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.2766, allocations: 7.938 kB / 1.097 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2766, allocations: 4 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2766, allocations: 4 kB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2766, allocations: 0 / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2766, allocations: 0 / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.277, allocations: 220.6 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.2771, allocations: 120.5 kB / 1.098 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.2771, allocations: 3.984 kB / 1.098 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.2772, allocations: 4 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.2773, allocations: 20.05 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.2773, allocations: 3.984 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003743/0.2777, allocations: 354.8 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2777, allocations: 0 / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000283/0.278, allocations: 47.94 kB / 1.098 GB, free: 6.785 MB / 0.8575 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.001511/0.2795, allocations: 1.069 MB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.2798, allocations: 115.8 kB / 1.099 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2799, allocations: 0 / 1.099 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.28, allocations: 31.98 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.2804, allocations: 69.47 kB / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.284, allocations: 3.113 MB / 1.102 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.2844, allocations: 0.826 MB / 1.103 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.2845, allocations: 41.92 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.2846, allocations: 123.4 kB / 1.103 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.2847, allocations: 0 / 1.103 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.3129, allocations: 7.693 MB / 1.111 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.309, allocations: 18.22 kB / 1.111 GB, free: 9.82 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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