Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_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.0009387/0.0009388, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007931/0.007931, allocations: 170.9 kB / 16.27 MB, free: 6.328 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003143, allocations: 8 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5937/0.594, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002002/0.5961, allocations: 1.966 MB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.5978, allocations: 1.386 MB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.5979, allocations: 3.938 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.5983, allocations: 189.5 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.5985, allocations: 115.5 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.5989, allocations: 139.7 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.5991, allocations: 255.1 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.5992, allocations: 48.72 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.5993, allocations: 91.5 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.5995, allocations: 107.4 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.5995, allocations: 11.94 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.5996, allocations: 43.98 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.5997, allocations: 91.66 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.5998, allocations: 164.5 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.6001, allocations: 370.5 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6001, allocations: 3.984 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6001, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.6001, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 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.0006888/0.6008, allocations: 0.6456 MB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.534e-05/0.6008, allocations: 8.031 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.6009, allocations: 42.69 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.6009, allocations: 48.28 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.6013, allocations: 412 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6014, allocations: 12.11 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.6014, allocations: 12 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.6015, allocations: 89.66 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.6016, allocations: 0 / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6016, allocations: 0 / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6016, allocations: 7.984 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.6017, allocations: 55.92 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.6023, allocations: 0.4926 MB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.6026, allocations: 106.7 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.6027, allocations: 28.86 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.6027, allocations: 15.97 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.6028, allocations: 87.31 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.6028, allocations: 0 / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002941/0.6031, allocations: 181 kB / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.6032, allocations: 51.41 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.6036, allocations: 0.4988 MB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.6036, allocations: 33.7 kB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.6038, allocations: 224.1 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.6038, allocations: 23.72 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.6039, allocations: 25.7 kB / 1.031 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.604, allocations: 362.8 kB / 1.031 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.6041, allocations: 47.92 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.6042, allocations: 77.92 kB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.6043, allocations: 108.4 kB / 1.032 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6043, allocations: 0 / 1.032 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002842/0.6046, allocations: 209.4 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.6047, allocations: 4 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.6047, allocations: 0 / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.6047, allocations: 4 kB / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.6048, allocations: 39.86 kB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6048, allocations: 7.922 kB / 1.032 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.605, allocations: 31.86 kB / 1.032 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.605, allocations: 4 kB / 1.032 GB, free: 6.668 MB / 0.7794 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.0001454/0.6051, allocations: 190.2 kB / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.6052, allocations: 47.42 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.6053, allocations: 43.92 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6053, allocations: 0 / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6053, allocations: 4 kB / 1.032 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6053, allocations: 7.984 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.6055, allocations: 317.4 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6055, allocations: 0 / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.6056, allocations: 11.98 kB / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6056, allocations: 0 / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.6056, allocations: 4 kB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6056, allocations: 0 / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6056, allocations: 0 / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.6059, allocations: 224.4 kB / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.606, allocations: 116.5 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.606, allocations: 4 kB / 1.033 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.6061, allocations: 11.98 kB / 1.033 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.6062, allocations: 7.984 kB / 1.033 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.6062, allocations: 8 kB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003043/0.6065, allocations: 350.8 kB / 1.033 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6065, allocations: 0 / 1.033 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002336/0.6067, allocations: 51.89 kB / 1.033 GB, free: 5.203 MB / 0.7794 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.001196/0.6079, allocations: 1.077 MB / 1.034 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.6081, allocations: 113.6 kB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6082, allocations: 0 / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.6082, allocations: 47.98 kB / 1.034 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.6086, allocations: 59.58 kB / 1.034 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.6117, allocations: 3.296 MB / 1.038 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.612, allocations: 0.8274 MB / 1.038 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.689e-05/0.6121, allocations: 33.94 kB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.6122, allocations: 123.4 kB / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.6122, allocations: 0 / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.408/5.02, allocations: 7.154 MB / 1.046 GB, free: 8.68 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/5.021, allocations: 254 kB / 1.046 GB, free: 8.422 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/7.895, allocations: 8 kB / 1.046 GB, free: 8.414 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches