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.006394/0.0064, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.001777/0.001777, allocations: 192.9 kB / 16.68 MB, free: 5.934 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.45/2.45, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 77.66 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2799, allocations: 162.3 MB / 1.242 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003395/0.2834, allocations: 2.261 MB / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2854, allocations: 1.44 MB / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2855, allocations: 4 kB / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005065/0.286, allocations: 191.5 kB / 1.246 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.2864, allocations: 135.3 kB / 1.246 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.2867, allocations: 170.8 kB / 1.246 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.2871, allocations: 271 kB / 1.246 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2873, allocations: 52.72 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.2875, allocations: 107.5 kB / 1.246 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.2877, allocations: 107.4 kB / 1.246 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.2878, allocations: 12 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.288, allocations: 55.97 kB / 1.247 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.2881, allocations: 103.5 kB / 1.247 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2883, allocations: 146.9 kB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.289, allocations: 402.1 kB / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.289, allocations: 0 / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.289, allocations: 0 / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.289, allocations: 0 / 1.247 GB, free: 3.465 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.001317/0.2903, allocations: 0.7305 MB / 1.248 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2904, allocations: 12.03 kB / 1.248 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.2905, allocations: 34.75 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2906, allocations: 52.64 kB / 1.248 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.2913, allocations: 408.6 kB / 1.248 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2913, allocations: 12.12 kB / 1.248 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.2914, allocations: 11.95 kB / 1.248 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.2917, allocations: 95.75 kB / 1.248 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2917, allocations: 0 / 1.248 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2917, allocations: 0 / 1.248 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2917, allocations: 0 / 1.248 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.2919, allocations: 55.91 kB / 1.249 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009995/0.2929, allocations: 0.4888 MB / 1.249 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.2934, allocations: 102.7 kB / 1.249 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.2936, allocations: 40.84 kB / 1.249 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.2936, allocations: 4 kB / 1.249 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.2938, allocations: 83.38 kB / 1.249 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.2939, allocations: 0 / 1.249 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005387/0.2944, allocations: 185.2 kB / 1.249 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.2945, allocations: 55.39 kB / 1.249 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.2953, allocations: 0.4951 MB / 1.25 GB, free: 420 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.2953, allocations: 33.7 kB / 1.25 GB, free: 380 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.2956, allocations: 224.4 kB / 1.25 GB, free: 152 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.2957, allocations: 31.73 kB / 1.25 GB, free: 120 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2958, allocations: 49.64 kB / 1.25 GB, free: 64 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.296, allocations: 362.8 kB / 1.251 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2962, allocations: 55.86 kB / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.2964, allocations: 78.55 kB / 1.251 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.2967, allocations: 103.4 kB / 1.251 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2968, allocations: 3.938 kB / 1.251 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000522/0.2973, allocations: 205.3 kB / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2973, allocations: 4 kB / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2973, allocations: 0 / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2973, allocations: 4 kB / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2976, allocations: 35.98 kB / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2976, allocations: 8 kB / 1.251 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.2978, allocations: 15.94 kB / 1.251 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.2979, allocations: 8 kB / 1.251 GB, free: 15.17 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.0002685/0.2982, allocations: 192 kB / 1.251 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/0.2982, allocations: 47.7 kB / 1.251 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/0.2983, allocations: 43.92 kB / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2984, allocations: 4 kB / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2984, allocations: 0 / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2984, allocations: 7.984 kB / 1.251 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.2988, allocations: 321.3 kB / 1.252 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2988, allocations: 0 / 1.252 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.961e-05/0.2989, allocations: 11.94 kB / 1.252 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.299, allocations: 11.97 kB / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.299, allocations: 0 / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.299, allocations: 0 / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.299, allocations: 0 / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.2996, allocations: 220.7 kB / 1.252 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2997, allocations: 120.8 kB / 1.252 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.2998, allocations: 0 / 1.252 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2999, allocations: 7.984 kB / 1.252 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.3, allocations: 11.98 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3, allocations: 4 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000564/0.3006, allocations: 354.8 kB / 1.252 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3006, allocations: 96 / 1.252 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000422/0.301, allocations: 51.88 kB / 1.252 GB, free: 13.7 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.002042/0.3031, allocations: 1.073 MB / 1.254 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.3033, allocations: 114.1 kB / 1.254 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3034, allocations: 4 kB / 1.254 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.3034, allocations: 36.05 kB / 1.254 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3038, allocations: 64.45 kB / 1.254 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.3072, allocations: 3.136 MB / 1.257 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.3076, allocations: 0.8271 MB / 1.258 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.38e-05/0.3077, allocations: 29.94 kB / 1.258 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.3079, allocations: 135.4 kB / 1.258 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of SimCode: time 1.873e-06/0.3079, allocations: 0 / 1.258 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5788/0.8867, allocations: 7.697 MB / 1.265 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.52, allocations: 3.312 kB / 1.265 GB, free: 0.7617 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 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.mat","/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