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.0009259/0.0009259, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001215/0.001215, allocations: 166 kB / 24.87 MB, free: 9.258 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 0.9678/0.9678, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.811/1.811, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] 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 1.763e-06/1.763e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.551e-05, allocations: 4.703 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00302/0.003045, allocations: 2.282 MB / 0.7906 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.005092, allocations: 1.537 MB / 0.7921 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.005275, allocations: 4.531 kB / 0.7921 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.005822, allocations: 188.7 kB / 0.7922 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.006256, allocations: 183 kB / 0.7924 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.006567, allocations: 136.6 kB / 0.7925 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.006883, allocations: 290.9 kB / 0.7928 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.007005, allocations: 32.91 kB / 0.7929 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/0.007626, allocations: 252.6 kB / 0.7931 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.007735, allocations: 67.75 kB / 0.7932 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.00776, allocations: 12 kB / 0.7932 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.007867, allocations: 55.91 kB / 0.7932 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.007947, allocations: 96.09 kB / 0.7933 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.008008, allocations: 68.3 kB / 0.7934 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.008344, allocations: 262.8 kB / 0.7936 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.008348, allocations: 1.094 kB / 0.7936 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.008349, allocations: 0 / 0.7936 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.008354, allocations: 4 kB / 0.7936 GB, free: 6.797 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.0006524/0.009007, allocations: 0.7688 MB / 0.7944 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.009041, allocations: 8.031 kB / 0.7944 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.009107, allocations: 52.61 kB / 0.7944 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.009396, allocations: 340.7 kB / 0.7948 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.009413, allocations: 8.359 kB / 0.7948 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.009433, allocations: 12.31 kB / 0.7948 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.009574, allocations: 109.1 kB / 0.7949 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.009582, allocations: 3.938 kB / 0.7949 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.00959, allocations: 0.5312 kB / 0.7949 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.009595, allocations: 4.875 kB / 0.7949 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.00965, allocations: 26.78 kB / 0.7949 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.01008, allocations: 420.7 kB / 0.7953 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.01019, allocations: 63.72 kB / 0.7954 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.01022, allocations: 24.44 kB / 0.7954 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.01023, allocations: 0.9375 kB / 0.7954 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.01034, allocations: 98.73 kB / 0.7955 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.01034, allocations: 1.219 kB / 0.7955 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001948/0.01054, allocations: 137.3 kB / 0.7956 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.01056, allocations: 51.41 kB / 0.7957 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.01088, allocations: 0.5345 MB / 0.7962 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.0109, allocations: 29.7 kB / 0.7962 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.01105, allocations: 298.7 kB / 0.7965 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.01108, allocations: 34.09 kB / 0.7966 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.01114, allocations: 55.33 kB / 0.7966 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01129, allocations: 0.5546 MB / 0.7971 GB, free: 3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.4e-05/0.01132, allocations: 19.98 kB / 0.7972 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.01138, allocations: 86.16 kB / 0.7972 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.01145, allocations: 64.28 kB / 0.7973 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01145, allocations: 0 / 0.7973 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001606/0.01161, allocations: 170.1 kB / 0.7975 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01163, allocations: 8 kB / 0.7975 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.01163, allocations: 0 / 0.7975 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.01164, allocations: 0 / 0.7975 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01174, allocations: 35.92 kB / 0.7975 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.01174, allocations: 5.062 kB / 0.7975 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.01181, allocations: 15.89 kB / 0.7975 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.01183, allocations: 11.98 kB / 0.7975 GB, free: 2.566 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 9.527e-05/0.01192, allocations: 166 kB / 0.7977 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.01196, allocations: 47.72 kB / 0.7978 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.01212, allocations: 126.6 kB / 0.7979 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.01213, allocations: 7.922 kB / 0.7979 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01213, allocations: 4.688 kB / 0.7979 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01213, allocations: 0 / 0.7979 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.0123, allocations: 218.2 kB / 0.7981 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.0123, allocations: 0 / 0.7981 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.01235, allocations: 12 kB / 0.7981 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01235, allocations: 5.344 kB / 0.7981 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.01236, allocations: 3.938 kB / 0.7981 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01236, allocations: 0 / 0.7981 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01236, allocations: 0 / 0.7981 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.01255, allocations: 197.1 kB / 0.7983 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.01258, allocations: 39.7 kB / 0.7983 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.0126, allocations: 4.656 kB / 0.7983 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.01265, allocations: 8 kB / 0.7983 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01269, allocations: 13.62 kB / 0.7984 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.0127, allocations: 0 / 0.7984 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001675/0.01286, allocations: 326.6 kB / 0.7987 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01286, allocations: 4 kB / 0.7987 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001884/0.01305, allocations: 55.38 kB / 0.7987 GB, free: 1.293 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.0008342/0.01389, allocations: 387.8 kB / 0.7991 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.01402, allocations: 71.58 kB / 0.7992 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01402, allocations: 0 / 0.7992 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.413e-05/0.01406, allocations: 35.59 kB / 0.7992 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.01432, allocations: 77.88 kB / 0.7993 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.01513, allocations: 0.6209 MB / 0.7999 GB, free: 216 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.947e-05/0.01519, allocations: 120.2 kB / 0.8 GB, free: 76 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.305e-05/0.01527, allocations: 37.91 kB / 0.8 GB, free: 40 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.0154, allocations: 126.1 kB / 0.8002 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.0154, allocations: 0 / 0.8002 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.00649/0.02189, allocations: 3.433 MB / 0.8035 GB, free: 12.55 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9406318459659815]