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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_10_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_10_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.001457/0.001458, 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.001849/0.001849, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.843/2.843, allocations: 437 MB / 0.7103 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 63.91 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7075, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004446/0.7119, allocations: 2.251 MB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.7145, allocations: 1.444 MB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.7147, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.7154, allocations: 191 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.7158, allocations: 135.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.7164, allocations: 167.4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.7168, allocations: 263.1 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.717, allocations: 50.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.7172, allocations: 111.5 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.7174, allocations: 107.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.7175, allocations: 16 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.7176, allocations: 67.83 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.7178, allocations: 91.67 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.7179, allocations: 146.9 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.7184, allocations: 390.5 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7184, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7184, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.7184, allocations: 0 / 1.023 GB, free: 13.05 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.001177/0.7196, allocations: 0.7073 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7197, allocations: 8.031 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.7198, allocations: 48.38 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.7203, allocations: 408.1 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.7203, allocations: 8.312 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.7204, allocations: 15.92 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.7206, allocations: 96.03 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.7206, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.7206, allocations: 4 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7206, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.7208, allocations: 55.97 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.7216, allocations: 0.4886 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.722, allocations: 114.7 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.7221, allocations: 32.78 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.7222, allocations: 4 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.7224, allocations: 87.38 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.7224, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004397/0.7228, allocations: 185 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.7229, allocations: 51.41 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.7234, allocations: 0.4911 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.7235, allocations: 33.69 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.7237, allocations: 220.1 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.7237, allocations: 31.61 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.7238, allocations: 45.7 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7239, allocations: 366.8 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.7241, allocations: 47.97 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.7242, allocations: 79.61 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.7244, allocations: 99.7 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7244, allocations: 384 / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003698/0.7248, allocations: 213 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.7249, allocations: 4 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7249, allocations: 0 / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7249, allocations: 7.938 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.7251, allocations: 35.98 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.7251, allocations: 3.984 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.7253, allocations: 19.84 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.7253, allocations: 15.92 kB / 1.026 GB, free: 8.828 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.000196/0.7255, allocations: 189.8 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.7256, allocations: 43.44 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.7257, allocations: 47.91 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.7257, allocations: 4 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7257, allocations: 0 / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7257, allocations: 0 / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.726, allocations: 321.4 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.726, allocations: 0 / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.7261, allocations: 7.984 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.7261, allocations: 7.938 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.7261, allocations: 4 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7261, allocations: 0 / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7261, allocations: 0 / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.7265, allocations: 224.4 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.7266, allocations: 116.5 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.7266, allocations: 4 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.7268, allocations: 11.98 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.7268, allocations: 16.05 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.7268, allocations: 0 / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004167/0.7273, allocations: 358.8 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7273, allocations: 0 / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002877/0.7276, allocations: 51.89 kB / 1.028 GB, free: 7.355 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.001085/0.7286, allocations: 418.9 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.729, allocations: 112.9 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.729, allocations: 4.062 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.7291, allocations: 39.98 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.7296, allocations: 78.31 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.7308, allocations: 0.6877 MB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.7313, allocations: 0.8271 MB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.7315, allocations: 33.94 kB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.7316, allocations: 23.44 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of SimCode: time 4.2e-07/0.7316, allocations: 0 / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.008738/0.7403, allocations: 3.066 MB / 1.033 GB, free: 2.223 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (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 & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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