Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_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.004327/0.004327, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001271/0.001271, allocations: 194 kB / 16.68 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 60.77 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 162.2 MB / 1.241 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003585/0.2817, allocations: 2.253 MB / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.2838, allocations: 1.447 MB / 1.245 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.2839, allocations: 4 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.2844, allocations: 191.5 kB / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.2848, allocations: 139.3 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.2852, allocations: 167.5 kB / 1.246 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.2855, allocations: 271 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.2857, allocations: 48.72 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.2858, allocations: 111.5 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.286, allocations: 107.5 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.286, allocations: 12 kB / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2862, allocations: 55.91 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.2863, allocations: 95.62 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.2864, allocations: 150.9 kB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.2869, allocations: 406 kB / 1.247 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2869, allocations: 0 / 1.247 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2869, allocations: 4 kB / 1.247 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2869, allocations: 0 / 1.247 GB, free: 3.848 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.001003/0.2879, allocations: 0.7267 MB / 1.247 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.288, allocations: 12.03 kB / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.288, allocations: 34.75 kB / 1.248 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.2881, allocations: 52.61 kB / 1.248 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.2886, allocations: 412.6 kB / 1.248 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2887, allocations: 12.12 kB / 1.248 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.2887, allocations: 4 kB / 1.248 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2889, allocations: 89.66 kB / 1.248 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2889, allocations: 0 / 1.248 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.2889, allocations: 7.984 kB / 1.248 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.289, allocations: 0 / 1.248 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.2891, allocations: 58.39 kB / 1.248 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.2899, allocations: 0.4926 MB / 1.249 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.2902, allocations: 106.7 kB / 1.249 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.2903, allocations: 36.84 kB / 1.249 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.2903, allocations: 8 kB / 1.249 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.2905, allocations: 79.38 kB / 1.249 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.2905, allocations: 3.938 kB / 1.249 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003902/0.2909, allocations: 181.3 kB / 1.249 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.291, allocations: 55.34 kB / 1.249 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.2915, allocations: 0.5029 MB / 1.25 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2916, allocations: 25.7 kB / 1.25 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.2918, allocations: 232 kB / 1.25 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.2918, allocations: 27.8 kB / 1.25 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.2919, allocations: 57.58 kB / 1.25 GB, free: 444 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2921, allocations: 354.8 kB / 1.25 GB, free: 80 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2922, allocations: 51.97 kB / 1.25 GB, free: 28 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2923, allocations: 70.55 kB / 1.25 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.2925, allocations: 103.5 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2926, allocations: 3.938 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003664/0.2929, allocations: 209.3 kB / 1.251 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.293, allocations: 4 kB / 1.251 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.293, allocations: 0 / 1.251 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.293, allocations: 0 / 1.251 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2932, allocations: 43.91 kB / 1.251 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2932, allocations: 0 / 1.251 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.2933, allocations: 23.97 kB / 1.251 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.2933, allocations: 4 kB / 1.251 GB, free: 15.55 MB / 0.9825 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.00019/0.2935, allocations: 188.1 kB / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.2936, allocations: 51.61 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.876e-05/0.2937, allocations: 52.28 kB / 1.251 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2937, allocations: 0 / 1.251 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2937, allocations: 4 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2937, allocations: 0 / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.294, allocations: 329.3 kB / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.294, allocations: 0 / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-05/0.2941, allocations: 8 kB / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2941, allocations: 0 / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.2941, allocations: 8 kB / 1.251 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2941, allocations: 0 / 1.251 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2941, allocations: 3.984 kB / 1.251 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.2945, allocations: 216.6 kB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.2946, allocations: 116.9 kB / 1.252 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.2947, allocations: 7.984 kB / 1.252 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.2948, allocations: 4 kB / 1.252 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.2948, allocations: 7.984 kB / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.2948, allocations: 11.98 kB / 1.252 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003917/0.2952, allocations: 354.8 kB / 1.252 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2952, allocations: 0 / 1.252 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002659/0.2955, allocations: 43.94 kB / 1.252 GB, free: 14.08 MB / 0.9825 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.002089/0.2976, allocations: 1.085 MB / 1.253 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.2979, allocations: 105.8 kB / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2979, allocations: 4 kB / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.298, allocations: 39.92 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.2984, allocations: 76.77 kB / 1.253 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.3022, allocations: 3.128 MB / 1.256 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.3027, allocations: 0.831 MB / 1.257 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.3028, allocations: 29.94 kB / 1.257 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.303, allocations: 131.4 kB / 1.257 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2.003e-06/0.303, allocations: 0 / 1.257 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.3328, allocations: 7.708 MB / 1.265 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.43, allocations: 2.234 kB / 1.265 GB, free: 1.129 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches