Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_9_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.001319/0.001319, allocations: 108 kB / 15.6 MB, free: 128 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.001471/0.001471, allocations: 195.6 kB / 16.53 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.6623, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003416/0.6657, allocations: 2.244 MB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.6677, allocations: 1.437 MB / 0.9533 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.6678, allocations: 3.344 kB / 0.9533 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.6684, allocations: 196.3 kB / 0.9535 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.6688, allocations: 137 kB / 0.9536 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.6692, allocations: 167.9 kB / 0.9538 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.6695, allocations: 264.2 kB / 0.9541 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.6696, allocations: 54.36 kB / 0.9541 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.6698, allocations: 110.2 kB / 0.9542 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.6699, allocations: 103.2 kB / 0.9543 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.67, allocations: 13.94 kB / 0.9543 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.6701, allocations: 67.83 kB / 0.9544 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.6702, allocations: 97.39 kB / 0.9545 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.6703, allocations: 144.4 kB / 0.9546 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.6707, allocations: 389.6 kB / 0.955 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6707, allocations: 0 / 0.955 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6707, allocations: 3.938 kB / 0.955 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6707, allocations: 0 / 0.955 GB, free: 5.133 MB / 0.7169 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.0008482/0.6716, allocations: 0.6969 MB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6716, allocations: 10.22 kB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.6717, allocations: 45.2 kB / 0.9557 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.175e-05/0.6717, allocations: 46.03 kB / 0.9558 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.6722, allocations: 411.9 kB / 0.9562 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.6722, allocations: 11.78 kB / 0.9562 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.6722, allocations: 17.89 kB / 0.9562 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.6724, allocations: 93.27 kB / 0.9563 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6724, allocations: 0 / 0.9563 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.6725, allocations: 1.281 kB / 0.9563 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6725, allocations: 2.5 kB / 0.9563 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.6726, allocations: 53.97 kB / 0.9563 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.6733, allocations: 0.4906 MB / 0.9568 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.6736, allocations: 106.1 kB / 0.9569 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.6737, allocations: 38.09 kB / 0.957 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.6737, allocations: 0 / 0.957 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.6739, allocations: 89.75 kB / 0.957 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.6739, allocations: 1.188 kB / 0.957 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003641/0.6743, allocations: 177.6 kB / 0.9572 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.6743, allocations: 56.94 kB / 0.9573 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.6747, allocations: 0.4929 MB / 0.9577 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.6748, allocations: 32.45 kB / 0.9578 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.6749, allocations: 224.8 kB / 0.958 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.6749, allocations: 31.67 kB / 0.958 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.675, allocations: 44.95 kB / 0.9581 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.6751, allocations: 360.5 kB / 0.9584 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.6752, allocations: 52.73 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.6753, allocations: 74.17 kB / 0.9585 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.6755, allocations: 105.6 kB / 0.9586 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6755, allocations: 3.938 kB / 0.9586 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000317/0.6758, allocations: 199.2 kB / 0.9588 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6758, allocations: 11.56 kB / 0.9588 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6758, allocations: 1.094 kB / 0.9588 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6759, allocations: 1.125 kB / 0.9588 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.676, allocations: 40.77 kB / 0.9589 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6761, allocations: 2.25 kB / 0.9589 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.6762, allocations: 17.98 kB / 0.9589 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.6762, allocations: 10.53 kB / 0.9589 GB, free: 1.953 MB / 0.7169 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.0001554/0.6764, allocations: 189 kB / 0.9591 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.6764, allocations: 51.25 kB / 0.9591 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.6765, allocations: 47.81 kB / 0.9592 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6765, allocations: 1.125 kB / 0.9592 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.6765, allocations: 5.062 kB / 0.9592 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6766, allocations: 0 / 0.9592 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.6768, allocations: 320.4 kB / 0.9595 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6768, allocations: 0 / 0.9595 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.6769, allocations: 15.06 kB / 0.9595 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6769, allocations: 0.875 kB / 0.9595 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.6769, allocations: 5.484 kB / 0.9595 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6769, allocations: 5.062 kB / 0.9595 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6769, allocations: 3.984 kB / 0.9595 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.6773, allocations: 216.1 kB / 0.9597 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.6773, allocations: 122.8 kB / 0.9598 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.6774, allocations: 2.188 kB / 0.9598 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.6775, allocations: 4.438 kB / 0.9598 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.6775, allocations: 16.91 kB / 0.9599 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.6775, allocations: 7.438 kB / 0.9599 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003237/0.6779, allocations: 352.1 kB / 0.9602 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6779, allocations: 1.062 kB / 0.9602 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002765/0.6782, allocations: 48.84 kB / 0.9603 GB, free: 0.9062 MB / 0.7169 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.001376/0.6795, allocations: 1.077 MB / 0.9613 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.6798, allocations: 120.1 kB / 0.9614 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6799, allocations: 0 / 0.9614 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.68, allocations: 43.05 kB / 0.9615 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.6804, allocations: 66.52 kB / 0.9615 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.6844, allocations: 3.187 MB / 0.9646 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.6848, allocations: 0.8238 MB / 0.9654 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.685, allocations: 30.38 kB / 0.9655 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.6852, allocations: 130.5 kB / 0.9656 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.6852, allocations: 0 / 0.9656 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2822/0.9674, allocations: 7.567 MB / 0.973 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/8.519, allocations: 21.31 kB / 0.973 GB, free: 9.039 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches