Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.001423/0.001423, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001401/0.001401, allocations: 177 kB / 23.36 MB, free: 1.129 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.398/2.398, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mHot_flow_set.y|souHot.T_in|orc.cyc.TWorEva|orc.cyc.mWor_flow|orc.cyc.mWor_flow_max|orc.cyc.mWor_flow_min|orc.cyc.dTPinEva|orc.cyc.dTPinEva_set|orc.ena|orc.on_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mHot_flow_set.y|souHot.T_in|orc.cyc.TWorEva|orc.cyc.mWor_flow|orc.cyc.mWor_flow_max|orc.cyc.mWor_flow_min|orc.cyc.dTPinEva|orc.cyc.dTPinEva_set|orc.ena|orc.on_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.06e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1588/0.1588, allocations: 160.6 MB / 0.9955 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.174, allocations: 9.496 MB / 1.005 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.1759, allocations: 99.19 kB / 1.005 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.1776, allocations: 0.7842 MB / 1.006 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004482/0.1821, allocations: 2.394 MB / 1.008 GB, free: 188 kB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.1856, allocations: 1.814 MB / 1.01 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.004544/0.1901, allocations: 4.238 MB / 1.014 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.1922, allocations: 1.195 MB / 1.015 GB, free: 8.891 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.1953, allocations: 2.2 MB / 1.017 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.1968, allocations: 1.184 MB / 1.018 GB, free: 5.527 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.1971, allocations: 176 kB / 1.018 GB, free: 5.355 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.1993, allocations: 1.368 MB / 1.02 GB, free: 3.984 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0007128/0.2, allocations: 1.024 MB / 1.021 GB, free: 2.957 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0008792/0.2009, allocations: 0.8962 MB / 1.022 GB, free: 2.059 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.2039, allocations: 2.764 MB / 1.024 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2039, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2039, allocations: 4 kB / 1.024 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.2039, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003353/0.2073, allocations: 2.971 MB / 1.027 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2073, allocations: 8.625 kB / 1.027 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.209, allocations: 0.7059 MB / 1.028 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.2107, allocations: 1.53 MB / 1.029 GB, free: 9.941 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.2108, allocations: 157.5 kB / 1.03 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2109, allocations: 116 kB / 1.03 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.2121, allocations: 1.143 MB / 1.031 GB, free: 8.402 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.2121, allocations: 4 kB / 1.031 GB, free: 8.398 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.2122, allocations: 44 kB / 1.031 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.2122, allocations: 42.08 kB / 1.031 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006795/0.2129, allocations: 0.5244 MB / 1.031 GB, free: 7.754 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/0.2169, allocations: 3.616 MB / 1.035 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008381/0.2178, allocations: 0.5375 MB / 1.036 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.2181, allocations: 293.6 kB / 1.036 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.2184, allocations: 124.6 kB / 1.036 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.2189, allocations: 0.5409 MB / 1.036 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.2189, allocations: 0 / 1.036 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of matching and sorting (n=89): time 0.005313/0.2242, allocations: 2.204 MB / 1.039 GB, free: 192 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.2243, allocations: 153.1 kB / 1.039 GB, free: 8 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.2258, allocations: 2.072 MB / 1.041 GB, free: 13.91 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.2259, allocations: 45.7 kB / 1.041 GB, free: 13.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.2262, allocations: 0.6478 MB / 1.041 GB, free: 13.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.2264, allocations: 305.3 kB / 1.042 GB, free: 12.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.2267, allocations: 238.7 kB / 1.042 GB, free: 12.66 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.2268, allocations: 353.8 kB / 1.042 GB, free: 12.31 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.2271, allocations: 252.8 kB / 1.043 GB, free: 12.05 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.2277, allocations: 0.7847 MB / 1.043 GB, free: 11.07 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/0.2285, allocations: 0.8822 MB / 1.044 GB, free: 10.05 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2285, allocations: 8 kB / 1.044 GB, free: 10.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001235/0.2298, allocations: 1.009 MB / 1.045 GB, free: 8.992 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.2298, allocations: 83.31 kB / 1.045 GB, free: 8.898 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2298, allocations: 8 kB / 1.045 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2309, allocations: 0.5714 MB / 1.046 GB, free: 8.312 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.2314, allocations: 231.7 kB / 1.046 GB, free: 8.086 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.2327, allocations: 2.097 MB / 1.048 GB, free: 5.875 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/0.2333, allocations: 179.1 kB / 1.048 GB, free: 5.699 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.2334, allocations: 47.98 kB / 1.048 GB, free: 5.652 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 103 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.2337, allocations: 255.7 kB / 1.049 GB, free: 5.379 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.2339, allocations: 163.8 kB / 1.049 GB, free: 5.219 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.2353, allocations: 1.009 MB / 1.05 GB, free: 4.164 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.2354, allocations: 12 kB / 1.05 GB, free: 4.152 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2354, allocations: 0 / 1.05 GB, free: 4.152 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2354, allocations: 3.984 kB / 1.05 GB, free: 4.148 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.2391, allocations: 2.206 MB / 1.052 GB, free: 1.836 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2391, allocations: 3.938 kB / 1.052 GB, free: 1.832 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.2395, allocations: 119.8 kB / 1.052 GB, free: 1.715 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.2409, allocations: 0.6404 MB / 1.053 GB, free: 1.066 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/0.241, allocations: 27.98 kB / 1.053 GB, free: 1.039 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4631/0.7041, allocations: 2.082 MB / 1.055 GB, free: 60.91 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.7041, allocations: 5.156 kB / 1.055 GB, free: 60.91 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.7059, allocations: 1.109 MB / 1.056 GB, free: 60.45 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00057/0.7065, allocations: 304.2 kB / 1.056 GB, free: 60.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.7067, allocations: 25.53 kB / 1.056 GB, free: 60.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.7073, allocations: 73.98 kB / 1.056 GB, free: 60.45 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.7074, allocations: 68.78 kB / 1.056 GB, free: 60.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.7075, allocations: 33.36 kB / 1.056 GB, free: 60.44 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001148/0.7086, allocations: 1.098 MB / 1.057 GB, free: 60.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7086, allocations: 0 / 1.057 GB, free: 60.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001477/0.7101, allocations: 0.6974 MB / 1.058 GB, free: 60.36 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006047/0.7107, allocations: 369.2 kB / 1.058 GB, free: 60.29 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.7121, allocations: 1.017 MB / 1.059 GB, free: 59.89 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.22e-05/0.7121, allocations: 25.11 kB / 1.059 GB, free: 59.89 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.7128, allocations: 0.6006 MB / 1.06 GB, free: 59.57 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.7147, allocations: 0.8401 MB / 1.061 GB, free: 59.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.7197, allocations: 3.889 MB / 1.065 GB, free: 57.78 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.7201, allocations: 0.4893 MB / 1.065 GB, free: 57.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007862/0.7209, allocations: 280.6 kB / 1.065 GB, free: 57.65 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.7222, allocations: 0.6709 MB / 1.066 GB, free: 57.57 MB / 1.01 GB Notification: Performance of SimCode: time 5.91e-07/0.7222, allocations: 1.891 kB / 1.066 GB, free: 57.57 MB / 1.01 GB Notification: Performance of Templates: time 0.04878/0.771, allocations: 44.56 MB / 1.109 GB, free: 51.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.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: 7.1559850559569895]