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.0009272/0.0009272, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0008962/0.0008962, allocations: 161 kB / 23.82 MB, free: 0.75 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.9904/0.9904, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.812/1.812, allocations: 359 MB / 0.6052 GB, free: 11.01 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.453e-06/1.453e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.828e-05, allocations: 6.016 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002997/0.003025, allocations: 2.307 MB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.005106, allocations: 1.56 MB / 0.7909 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.005231, allocations: 4 kB / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.005762, allocations: 184 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.006163, allocations: 180.3 kB / 0.7912 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.006415, allocations: 139.5 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.006715, allocations: 291.5 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.006845, allocations: 28.92 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.006997, allocations: 151 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.007135, allocations: 95.69 kB / 0.7919 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.007163, allocations: 16 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.007278, allocations: 55.92 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.007376, allocations: 111.5 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.007451, allocations: 67.72 kB / 0.7922 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.007788, allocations: 270.8 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.007791, allocations: 0 / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007792, allocations: 4.469 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.007797, allocations: 0.5312 kB / 0.7924 GB, free: 7.02 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.0008007/0.008598, allocations: 0.7639 MB / 0.7932 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.008636, allocations: 12.03 kB / 0.7932 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.008717, allocations: 57.42 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.009099, allocations: 344 kB / 0.7936 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.009118, allocations: 13.69 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.009148, allocations: 12.38 kB / 0.7936 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.009323, allocations: 116.3 kB / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.00933, allocations: 0 / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.009342, allocations: 5.156 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.009349, allocations: 3.984 kB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.009437, allocations: 30.23 kB / 0.7937 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.01001, allocations: 0.489 MB / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.01015, allocations: 72.34 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.01019, allocations: 27.81 kB / 0.7943 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.01021, allocations: 0 / 0.7943 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.01033, allocations: 107.3 kB / 0.7944 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.01033, allocations: 2.312 kB / 0.7944 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002509/0.01058, allocations: 141.3 kB / 0.7945 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.01061, allocations: 55.41 kB / 0.7946 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.01099, allocations: 0.5378 MB / 0.7951 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.01101, allocations: 33.7 kB / 0.7952 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.01116, allocations: 290.8 kB / 0.7954 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.01119, allocations: 39.28 kB / 0.7955 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.01125, allocations: 55.3 kB / 0.7955 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.0114, allocations: 0.5508 MB / 0.7961 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.01146, allocations: 27.92 kB / 0.7961 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.01154, allocations: 87.55 kB / 0.7962 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.075e-05/0.01163, allocations: 67.36 kB / 0.7962 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.01163, allocations: 0 / 0.7962 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001983/0.01183, allocations: 179.2 kB / 0.7964 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01185, allocations: 9.703 kB / 0.7964 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01185, allocations: 3.938 kB / 0.7964 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01187, allocations: 4.5 kB / 0.7964 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.012, allocations: 32.48 kB / 0.7965 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.01201, allocations: 4.562 kB / 0.7965 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.01207, allocations: 13.27 kB / 0.7965 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.01209, allocations: 8 kB / 0.7965 GB, free: 2.633 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.192e-05/0.01218, allocations: 164.5 kB / 0.7966 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.01222, allocations: 56.33 kB / 0.7967 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.01241, allocations: 147 kB / 0.7968 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01242, allocations: 0 / 0.7968 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01242, allocations: 0 / 0.7968 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01242, allocations: 0 / 0.7968 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.01263, allocations: 293.6 kB / 0.7971 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.01263, allocations: 8 kB / 0.7971 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.01269, allocations: 15.92 kB / 0.7971 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01269, allocations: 0.8125 kB / 0.7971 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.0127, allocations: 0 / 0.7971 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.0127, allocations: 3.938 kB / 0.7971 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.0127, allocations: 4.938 kB / 0.7971 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.01319, allocations: 188.1 kB / 0.7973 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.01323, allocations: 44.89 kB / 0.7974 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.01325, allocations: 3.984 kB / 0.7974 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.01331, allocations: 11.94 kB / 0.7974 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.01335, allocations: 12.94 kB / 0.7974 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01337, allocations: 4 kB / 0.7974 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002104/0.01358, allocations: 340.6 kB / 0.7977 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01358, allocations: 0 / 0.7977 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001865/0.01376, allocations: 47.92 kB / 0.7978 GB, free: 1.242 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.0009025/0.01466, allocations: 392 kB / 0.7981 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.01483, allocations: 90.19 kB / 0.7982 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01483, allocations: 0 / 0.7982 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.01488, allocations: 35.61 kB / 0.7983 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.01515, allocations: 68.7 kB / 0.7983 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.01606, allocations: 0.6222 MB / 0.7989 GB, free: 160 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.01613, allocations: 124.2 kB / 0.799 GB, free: 16 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.301e-05/0.01623, allocations: 37.92 kB / 0.7991 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.01628, allocations: 24.5 kB / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of SimCode: time 9.52e-07/0.01628, allocations: 0 / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of Templates: time 0.006537/0.02282, allocations: 3.185 MB / 0.8022 GB, free: 12.84 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: 5.3596633998677135]