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: 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.001189/0.001189, allocations: 98.88 kB / 16.02 MB, free: 76 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.001942/0.001942, allocations: 183.8 kB / 16.92 MB, free: 6.684 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.344 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.653/2.653, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003922, allocations: 19.98 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.693, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003072/0.6961, allocations: 1.958 MB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.6984, allocations: 1.386 MB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.6987, allocations: 11.94 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.6993, allocations: 175.3 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.6997, allocations: 123.5 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.7002, allocations: 147.7 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.7006, allocations: 251.1 kB / 1.028 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.7008, allocations: 50.7 kB / 1.028 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.701, allocations: 91.5 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.7012, allocations: 107.4 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.7012, allocations: 4 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.7014, allocations: 43.98 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.7015, allocations: 91.61 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.7017, allocations: 168.5 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.702, allocations: 287.3 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.702, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.702, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.702, allocations: 0 / 1.028 GB, free: 11 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.001013/0.7031, allocations: 0.6417 MB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7031, allocations: 12.03 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.7032, allocations: 56.2 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.7038, allocations: 408 kB / 1.03 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.7038, allocations: 12.36 kB / 1.03 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.7038, allocations: 15.94 kB / 1.03 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.7041, allocations: 92.03 kB / 1.03 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.7041, allocations: 0 / 1.03 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.7041, allocations: 0 / 1.03 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.7041, allocations: 8 kB / 1.03 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.7043, allocations: 51.91 kB / 1.03 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008377/0.7051, allocations: 0.4926 MB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.7055, allocations: 106.6 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.7056, allocations: 36.84 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.7056, allocations: 4 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.7058, allocations: 87.38 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.7058, allocations: 0 / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004086/0.7063, allocations: 181.2 kB / 1.031 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.7063, allocations: 59.34 kB / 1.031 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.7069, allocations: 0.4988 MB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.7069, allocations: 29.7 kB / 1.031 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.7071, allocations: 224.1 kB / 1.031 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.7071, allocations: 27.7 kB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.7071, allocations: 25.72 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7073, allocations: 362.8 kB / 1.032 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.7074, allocations: 47.97 kB / 1.032 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.7076, allocations: 77.92 kB / 1.032 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.7078, allocations: 95.25 kB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7078, allocations: 4.031 kB / 1.032 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003524/0.7081, allocations: 212.9 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.7082, allocations: 4 kB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7082, allocations: 0 / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7082, allocations: 4 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.7084, allocations: 39.91 kB / 1.032 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7084, allocations: 3.938 kB / 1.032 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.7085, allocations: 23.88 kB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.7086, allocations: 8 kB / 1.032 GB, free: 6.855 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.0001939/0.7088, allocations: 187.9 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.7088, allocations: 47.38 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.278e-05/0.7089, allocations: 47.91 kB / 1.033 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7089, allocations: 3.938 kB / 1.033 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7089, allocations: 0 / 1.033 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7089, allocations: 4 kB / 1.033 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.7092, allocations: 321.4 kB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7092, allocations: 4 kB / 1.033 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.7093, allocations: 11.98 kB / 1.033 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7093, allocations: 0 / 1.033 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.7093, allocations: 4 kB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7093, allocations: 0 / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7094, allocations: 0 / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.7097, allocations: 220.6 kB / 1.033 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.829e-05/0.7098, allocations: 120.5 kB / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.7099, allocations: 8.062 kB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.71, allocations: 7.984 kB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.71, allocations: 15.97 kB / 1.033 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.7101, allocations: 7.984 kB / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003779/0.7104, allocations: 354.8 kB / 1.034 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7104, allocations: 0 / 1.034 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002793/0.7107, allocations: 47.91 kB / 1.034 GB, free: 5.379 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.001024/0.7118, allocations: 436.3 kB / 1.034 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.712, allocations: 109.3 kB / 1.034 GB, free: 5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7121, allocations: 0 / 1.034 GB, free: 5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.7122, allocations: 35.98 kB / 1.034 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.7126, allocations: 66.2 kB / 1.034 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.7138, allocations: 0.8548 MB / 1.035 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.7142, allocations: 0.8223 MB / 1.036 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.7143, allocations: 27.42 kB / 1.036 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7143, allocations: 0 / 1.036 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of Templates: time 0.00808/0.7224, allocations: 4.611 MB / 1.04 GB, free: 14.55 MB / 0.795 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/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