Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.846/2.846, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/3.93e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.006411/0.006451, allocations: 2.235 MB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004135/0.01059, allocations: 1.501 MB / 0.79 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.01076, allocations: 5.062 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009074/0.01167, allocations: 179.9 kB / 0.7902 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007801/0.01245, allocations: 179.4 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.01303, allocations: 141.2 kB / 0.7905 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006697/0.0137, allocations: 286.9 kB / 0.7908 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.01392, allocations: 28.92 kB / 0.7908 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.01425, allocations: 151.6 kB / 0.791 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.0145, allocations: 100.6 kB / 0.7911 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.01455, allocations: 12 kB / 0.7911 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.01474, allocations: 56.55 kB / 0.7911 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.01494, allocations: 107.5 kB / 0.7912 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.01508, allocations: 69.67 kB / 0.7913 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.01618, allocations: 394.5 kB / 0.7917 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01619, allocations: 0 / 0.7917 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.55e-06/0.01619, allocations: 3.984 kB / 0.7917 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.0162, allocations: 0 / 0.7917 GB, free: 7.402 MB / 0.7448 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.00168/0.01788, allocations: 0.6499 MB / 0.7923 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.01794, allocations: 8.031 kB / 0.7923 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.0181, allocations: 56.61 kB / 0.7924 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007966/0.0189, allocations: 360.6 kB / 0.7927 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.01893, allocations: 13.03 kB / 0.7927 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.01897, allocations: 4.375 kB / 0.7927 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.01933, allocations: 128.1 kB / 0.7929 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01934, allocations: 1.656 kB / 0.7929 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.01937, allocations: 4 kB / 0.7929 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.01938, allocations: 4 kB / 0.7929 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.0196, allocations: 59.89 kB / 0.7929 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009103/0.02051, allocations: 410.1 kB / 0.7933 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.0208, allocations: 90.7 kB / 0.7934 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.02089, allocations: 34 kB / 0.7934 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.02092, allocations: 4 kB / 0.7934 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.02116, allocations: 114.4 kB / 0.7935 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.02116, allocations: 0 / 0.7935 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004804/0.02164, allocations: 177.3 kB / 0.7937 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.02171, allocations: 56.31 kB / 0.7938 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.02239, allocations: 0.5146 MB / 0.7943 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.02242, allocations: 29.7 kB / 0.7943 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.02266, allocations: 228.9 kB / 0.7945 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.02271, allocations: 27.78 kB / 0.7945 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.02281, allocations: 54.88 kB / 0.7946 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.02306, allocations: 358.8 kB / 0.7949 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.02319, allocations: 51.97 kB / 0.795 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.02337, allocations: 102.9 kB / 0.7951 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.02359, allocations: 98.52 kB / 0.7952 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02359, allocations: 0 / 0.7952 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004274/0.02402, allocations: 220.7 kB / 0.7954 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.02404, allocations: 8 kB / 0.7954 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.02405, allocations: 7.922 kB / 0.7954 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.02407, allocations: 1.125 kB / 0.7954 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.02427, allocations: 31.98 kB / 0.7954 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.02428, allocations: 4 kB / 0.7954 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.02441, allocations: 15.2 kB / 0.7955 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.02444, allocations: 12 kB / 0.7955 GB, free: 3.328 MB / 0.7448 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.0002574/0.0247, allocations: 185.7 kB / 0.7956 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.833e-05/0.02479, allocations: 55.67 kB / 0.7957 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.02516, allocations: 169.5 kB / 0.7959 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.02516, allocations: 0 / 0.7959 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.02517, allocations: 0 / 0.7959 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.02518, allocations: 4.484 kB / 0.7959 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.02551, allocations: 258.4 kB / 0.7961 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.02551, allocations: 0 / 0.7961 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.02559, allocations: 11.98 kB / 0.7961 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.0256, allocations: 0 / 0.7961 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.02561, allocations: 0.9062 kB / 0.7961 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.02561, allocations: 7.938 kB / 0.7961 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02561, allocations: 0.6562 kB / 0.7961 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.02608, allocations: 227.6 kB / 0.7963 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.02615, allocations: 39.7 kB / 0.7964 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.02619, allocations: 8 kB / 0.7964 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.02629, allocations: 11.92 kB / 0.7964 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.02636, allocations: 19.91 kB / 0.7964 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.02638, allocations: 4 kB / 0.7964 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004742/0.02685, allocations: 358.8 kB / 0.7968 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02685, allocations: 2.344 kB / 0.7968 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002956/0.02715, allocations: 43.94 kB / 0.7968 GB, free: 1.887 MB / 0.7448 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.002115/0.02926, allocations: 465 kB / 0.7973 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.02959, allocations: 103.9 kB / 0.7974 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02959, allocations: 0 / 0.7974 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.0297, allocations: 35.92 kB / 0.7974 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.03016, allocations: 74.64 kB / 0.7975 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.03152, allocations: 0.6898 MB / 0.7981 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.0318, allocations: 224.8 kB / 0.7983 GB, free: 464 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.03191, allocations: 33.92 kB / 0.7984 GB, free: 428 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.03199, allocations: 32.48 kB / 0.7984 GB, free: 396 kB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.03199, allocations: 0 / 0.7984 GB, free: 396 kB / 0.7448 GB Notification: Performance of Templates: time 0.01009/0.04208, allocations: 3.194 MB / 0.8015 GB, free: 13.26 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.433810499031097]