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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001548/0.001548, allocations: 108 kB / 15.6 MB, free: 132 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.001785/0.001785, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.458/2.458, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 69.69 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2493, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003579/0.2529, allocations: 2.265 MB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.255, allocations: 1.447 MB / 1.057 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2551, allocations: 7.938 kB / 1.057 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.2556, allocations: 179.9 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.2559, allocations: 135.3 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.2563, allocations: 163.5 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.2566, allocations: 263.1 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.2567, allocations: 56.64 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2569, allocations: 107.5 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.257, allocations: 111.4 kB / 1.058 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.2571, allocations: 16 kB / 1.058 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.2572, allocations: 55.91 kB / 1.058 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2573, allocations: 91.67 kB / 1.058 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.2574, allocations: 154.8 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.2578, allocations: 382.5 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2578, allocations: 7.984 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2578, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2578, allocations: 0 / 1.058 GB, free: 2.863 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.000959/0.2588, allocations: 0.7036 MB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2588, allocations: 12.61 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.2589, allocations: 38.75 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.259, allocations: 48.31 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.2595, allocations: 404.1 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2595, allocations: 12.12 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.2595, allocations: 8 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.2597, allocations: 99.97 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2598, allocations: 0 / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.2598, allocations: 4 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2598, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2599, allocations: 51.97 kB / 1.06 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.2607, allocations: 0.4964 MB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.261, allocations: 106.7 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.2611, allocations: 36.84 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.2612, allocations: 4 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.2613, allocations: 91.36 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2614, allocations: 0 / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003844/0.2617, allocations: 177 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2618, allocations: 55.41 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.2623, allocations: 0.495 MB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2623, allocations: 33.64 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.2625, allocations: 223.9 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.2625, allocations: 31.78 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.2626, allocations: 49.64 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2628, allocations: 358.8 kB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2629, allocations: 47.97 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.263, allocations: 76.61 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2632, allocations: 108.5 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2632, allocations: 3.938 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003277/0.2636, allocations: 205 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2636, allocations: 8.375 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2636, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2636, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2638, allocations: 39.91 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2638, allocations: 7.938 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2639, allocations: 15.94 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.264, allocations: 11.98 kB / 1.062 GB, free: 14.6 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.0001703/0.2641, allocations: 189.7 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.2642, allocations: 43.44 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.996e-05/0.2643, allocations: 51.91 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2643, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2643, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2643, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.2646, allocations: 321.4 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2646, allocations: 3.938 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.2646, allocations: 8 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2646, allocations: 0 / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2647, allocations: 8 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2647, allocations: 0 / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2647, allocations: 3.984 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.265, allocations: 220.3 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.2651, allocations: 108.7 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.2652, allocations: 8 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.2653, allocations: 7.984 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.2653, allocations: 7.984 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2654, allocations: 12 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003548/0.2657, allocations: 350.8 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2657, allocations: 4 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002636/0.266, allocations: 47.89 kB / 1.063 GB, free: 13.13 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.001515/0.2675, allocations: 1.086 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.2678, allocations: 105.4 kB / 1.065 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2678, allocations: 3.938 kB / 1.065 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.2679, allocations: 43.92 kB / 1.065 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.2683, allocations: 74.03 kB / 1.065 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.2718, allocations: 3.169 MB / 1.068 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.2722, allocations: 0.826 MB / 1.069 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.2723, allocations: 37.94 kB / 1.069 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.2725, allocations: 131.3 kB / 1.069 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2725, allocations: 0 / 1.069 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.2983, allocations: 7.587 MB / 1.076 GB, free: 248 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.319, allocations: 11.91 kB / 1.076 GB, free: 240 kB / 0.8262 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=50 --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