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.007446/0.007446, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.00152/0.00152, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.653/2.653, allocations: 437.1 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 71.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2748, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003671/0.2785, allocations: 2.264 MB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.2807, allocations: 1.444 MB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.2809, allocations: 8 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.2815, allocations: 183.3 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.282, allocations: 139.3 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.2825, allocations: 167.4 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.2829, allocations: 267 kB / 1.171 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2831, allocations: 56.7 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2833, allocations: 115.5 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2835, allocations: 103.5 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.2835, allocations: 16 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.2837, allocations: 59.97 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2838, allocations: 103.5 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.2839, allocations: 146.9 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.2844, allocations: 398 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2844, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2844, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.2844, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 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.001077/0.2855, allocations: 0.7267 MB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2856, allocations: 12.03 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.2856, allocations: 42.73 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.2857, allocations: 48.61 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.2862, allocations: 408.6 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.2862, allocations: 12.12 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.2863, allocations: 7.938 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.2865, allocations: 91.47 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2865, allocations: 4 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2866, allocations: 8 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2866, allocations: 0 / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2867, allocations: 55.91 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.2876, allocations: 492.5 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.2879, allocations: 110.7 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.288, allocations: 36.84 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.2881, allocations: 0 / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.2883, allocations: 83.38 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2883, allocations: 0 / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0004054/0.2887, allocations: 185.2 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.2887, allocations: 59.41 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.2893, allocations: 0.4951 MB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2893, allocations: 33.64 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2895, allocations: 228 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.2895, allocations: 31.78 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.2896, allocations: 49.66 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2897, allocations: 358.8 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.2899, allocations: 47.98 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.29, allocations: 84.78 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.2902, allocations: 95.94 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2902, allocations: 7.875 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003546/0.2906, allocations: 207.3 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2906, allocations: 8 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2906, allocations: 4.062 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2906, allocations: 0 / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2908, allocations: 36.3 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2908, allocations: 4 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.291, allocations: 23.94 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.291, allocations: 4 kB / 1.175 GB, free: 13.54 MB / 0.9356 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.0001733/0.2912, allocations: 196.7 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.2912, allocations: 47.67 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.2913, allocations: 51.92 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.2913, allocations: 3.984 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2913, allocations: 0 / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2913, allocations: 0 / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.2916, allocations: 317.4 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2916, allocations: 3.938 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.2917, allocations: 11.98 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2917, allocations: 3.984 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2917, allocations: 8 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2917, allocations: 0 / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2917, allocations: 0 / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.2921, allocations: 224.6 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.2922, allocations: 108.9 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.2922, allocations: 8 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.2923, allocations: 7.984 kB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.2924, allocations: 11.98 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2924, allocations: 4 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003502/0.2927, allocations: 358.9 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2927, allocations: 0 / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002814/0.293, allocations: 47.92 kB / 1.177 GB, free: 12.06 MB / 0.9356 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.001527/0.2946, allocations: 1.074 MB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.2948, allocations: 103.9 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2949, allocations: 0 / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.295, allocations: 43.92 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.2954, allocations: 75.09 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.2989, allocations: 3.144 MB / 1.181 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.2993, allocations: 0.8267 MB / 1.182 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.2994, allocations: 33.94 kB / 1.182 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.2996, allocations: 123.4 kB / 1.182 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2996, allocations: 7.938 kB / 1.182 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3247, allocations: 7.691 MB / 1.19 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.1, allocations: 11.78 kB / 1.19 GB, free: 15.13 MB / 0.9512 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