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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 115 kB / 16.37 MB, free: 6 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.001521/0.001521, allocations: 193.2 kB / 17.31 MB, free: 5.602 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.523/2.523, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 67.77 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3206, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00369/0.3243, allocations: 2.27 MB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.3265, allocations: 1.444 MB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.3266, allocations: 7.938 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.3272, allocations: 187.5 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.3276, allocations: 135.3 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.328, allocations: 169.1 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.3284, allocations: 267 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.3286, allocations: 56.66 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3288, allocations: 107.5 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3289, allocations: 115.4 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.329, allocations: 16 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.3291, allocations: 47.98 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3292, allocations: 95.66 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3294, allocations: 154.8 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.3298, allocations: 394.5 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3299, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3299, allocations: 4 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3299, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 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.001035/0.3309, allocations: 0.7008 MB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.331, allocations: 11.97 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.3311, allocations: 48.38 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.3316, allocations: 408.1 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3317, allocations: 8.375 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.3317, allocations: 11.94 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.3319, allocations: 101.5 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3319, allocations: 0 / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.332, allocations: 0 / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.332, allocations: 4 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.3321, allocations: 51.97 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.3329, allocations: 0.4886 MB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.3333, allocations: 102.7 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.3334, allocations: 32.84 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3334, allocations: 4 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.3336, allocations: 91.31 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3336, allocations: 0 / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003902/0.334, allocations: 184.9 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.334, allocations: 51.41 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.3346, allocations: 0.499 MB / 1.035 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3346, allocations: 29.7 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3348, allocations: 227.9 kB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3348, allocations: 31.64 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.3349, allocations: 49.7 kB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3351, allocations: 362.8 kB / 1.035 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3352, allocations: 43.98 kB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3354, allocations: 74.55 kB / 1.036 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.3356, allocations: 107.4 kB / 1.036 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3356, allocations: 0 / 1.036 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000355/0.3359, allocations: 208.9 kB / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.336, allocations: 4 kB / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.336, allocations: 0 / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.336, allocations: 4 kB / 1.036 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.3362, allocations: 39.92 kB / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3362, allocations: 0 / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3363, allocations: 15.89 kB / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3364, allocations: 12.03 kB / 1.036 GB, free: 8.336 MB / 0.8106 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.0001855/0.3366, allocations: 195 kB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.3366, allocations: 43.44 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.3367, allocations: 47.91 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3367, allocations: 4 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3367, allocations: 0 / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3367, allocations: 0 / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3371, allocations: 325.4 kB / 1.036 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3371, allocations: 0 / 1.036 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.3371, allocations: 12 kB / 1.036 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3372, allocations: 4 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.3372, allocations: 3.984 kB / 1.037 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3372, allocations: 0 / 1.037 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3372, allocations: 0 / 1.037 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.3376, allocations: 228.7 kB / 1.037 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3377, allocations: 112.7 kB / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.3377, allocations: 8.062 kB / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.3378, allocations: 11.94 kB / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.3379, allocations: 11.97 kB / 1.037 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3379, allocations: 4 kB / 1.037 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003658/0.3383, allocations: 358.8 kB / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.7e-07/0.3383, allocations: 0 / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002913/0.3386, allocations: 47.91 kB / 1.037 GB, free: 6.855 MB / 0.8106 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.001035/0.3396, allocations: 422.7 kB / 1.038 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3399, allocations: 101.5 kB / 1.038 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3399, allocations: 0 / 1.038 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.34, allocations: 43.92 kB / 1.038 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3405, allocations: 77.97 kB / 1.038 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3416, allocations: 0.6799 MB / 1.039 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.342, allocations: 0.8228 MB / 1.039 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.3421, allocations: 33.94 kB / 1.039 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.3422, allocations: 31.42 kB / 1.039 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3422, allocations: 0 / 1.039 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of Templates: time 0.007728/0.3499, allocations: 3.066 MB / 1.042 GB, free: 1.734 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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