Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_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.00124/0.00124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.632/2.632, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 63.16 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2429, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003482/0.2464, allocations: 2.252 MB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.2484, allocations: 1.447 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.2485, allocations: 7.875 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.2489, allocations: 187.9 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.2492, allocations: 136.3 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.2496, allocations: 164.6 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.2499, allocations: 267.1 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.25, allocations: 52.66 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2501, allocations: 111.5 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2503, allocations: 111.4 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.2503, allocations: 12 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.2504, allocations: 55.97 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2506, allocations: 95.66 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2507, allocations: 146.9 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.2511, allocations: 394.5 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2511, allocations: 0 / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2511, allocations: 0 / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2511, allocations: 0 / 1.069 GB, free: 8.734 MB / 0.8262 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.0008705/0.252, allocations: 0.6996 MB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.252, allocations: 12.03 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.252, allocations: 42.75 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.2521, allocations: 52.28 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.2526, allocations: 408 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2526, allocations: 12.12 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2526, allocations: 4 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.2528, allocations: 97.58 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2529, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2529, allocations: 4 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2529, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.253, allocations: 61.59 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.2537, allocations: 492.5 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.254, allocations: 114.6 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.2541, allocations: 32.84 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.2541, allocations: 4 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.2543, allocations: 83.31 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2543, allocations: 4 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003486/0.2547, allocations: 184.9 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2547, allocations: 51.41 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.2552, allocations: 0.4988 MB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2553, allocations: 29.7 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.2554, allocations: 231.9 kB / 1.072 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.2555, allocations: 23.8 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.2555, allocations: 49.69 kB / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2557, allocations: 362.8 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.2558, allocations: 47.98 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.256, allocations: 78.55 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.2561, allocations: 95.42 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2562, allocations: 7.875 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003298/0.2565, allocations: 210.8 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2565, allocations: 8.062 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2565, allocations: 3.984 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2565, allocations: 4 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.2567, allocations: 35.92 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2567, allocations: 0 / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2568, allocations: 15.98 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2568, allocations: 8 kB / 1.073 GB, free: 4.473 MB / 0.8262 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.0001743/0.257, allocations: 189.6 kB / 1.073 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.2571, allocations: 47.44 kB / 1.073 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.52e-05/0.2572, allocations: 55.89 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2572, allocations: 4 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2572, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2572, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.2575, allocations: 325.3 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2575, allocations: 0 / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.2576, allocations: 8 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2576, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2576, allocations: 3.984 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2576, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2576, allocations: 4 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.2579, allocations: 220.7 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.258, allocations: 116.6 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.2581, allocations: 4 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.2582, allocations: 4 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.2582, allocations: 11.98 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2582, allocations: 12.05 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00035/0.2586, allocations: 354.8 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2586, allocations: 3.938 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002376/0.2588, allocations: 44 kB / 1.075 GB, free: 3 MB / 0.8262 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.001832/0.2607, allocations: 1.072 MB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.2609, allocations: 111.9 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2609, allocations: 0 / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.261, allocations: 43.92 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.2614, allocations: 62.27 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.2648, allocations: 3.181 MB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.2653, allocations: 0.822 MB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.903e-05/0.2654, allocations: 42.11 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.2655, allocations: 131.4 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.2656, allocations: 7.938 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2413/0.5068, allocations: 7.572 MB / 1.087 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.82, allocations: 23.92 kB / 1.087 GB, free: 6.094 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches