Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001354/0.001354, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001316/0.001316, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9103/0.9103, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.81/1.81, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.841e-05, allocations: 8.922 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1572/0.1573, allocations: 161.3 MB / 0.9691 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1675, allocations: 8.417 MB / 0.9773 GB, free: 7.43 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1687, allocations: 91.25 kB / 0.9774 GB, free: 7.34 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1699, allocations: 0.7648 MB / 0.9781 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.1734, allocations: 2.417 MB / 0.9805 GB, free: 4.141 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.1756, allocations: 1.519 MB / 0.982 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003883/0.1794, allocations: 4.201 MB / 0.9861 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.1809, allocations: 1.196 MB / 0.9872 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.1834, allocations: 2.22 MB / 0.9894 GB, free: 10.99 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.1845, allocations: 1.227 MB / 0.9906 GB, free: 9.758 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.1847, allocations: 176 kB / 0.9908 GB, free: 9.586 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.1863, allocations: 1.286 MB / 0.992 GB, free: 8.297 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007898/0.1871, allocations: 1.028 MB / 0.993 GB, free: 7.266 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006453/0.1878, allocations: 0.8728 MB / 0.9939 GB, free: 6.391 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.19, allocations: 2.729 MB / 0.9966 GB, free: 3.652 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.19, allocations: 0 / 0.9966 GB, free: 3.652 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.19, allocations: 0 / 0.9966 GB, free: 3.652 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.19, allocations: 0 / 0.9966 GB, free: 3.652 MB / 0.948 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.002857/0.1929, allocations: 3.143 MB / 0.9996 GB, free: 452 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1929, allocations: 12.03 kB / 0.9996 GB, free: 440 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.195, allocations: 0.7981 MB / 1 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.1968, allocations: 1.805 MB / 1.002 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-05/0.1969, allocations: 145.5 kB / 1.002 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.197, allocations: 112 kB / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.1986, allocations: 1.236 MB / 1.004 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1986, allocations: 4 kB / 1.004 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.1987, allocations: 51.98 kB / 1.004 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.1987, allocations: 42.08 kB / 1.004 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.1998, allocations: 0.7219 MB / 1.004 GB, free: 11.29 MB / 0.9636 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.005128/0.2049, allocations: 5.397 MB / 1.01 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.2059, allocations: 0.5928 MB / 1.01 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.2064, allocations: 357.6 kB / 1.011 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.2066, allocations: 120.5 kB / 1.011 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/0.2073, allocations: 0.5906 MB / 1.011 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.2073, allocations: 0 / 1.011 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=89): time 0.008443/0.2157, allocations: 2.625 MB / 1.014 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.2158, allocations: 149.2 kB / 1.014 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.2182, allocations: 2.301 MB / 1.016 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.319e-05/0.2183, allocations: 45.7 kB / 1.016 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008471/0.2192, allocations: 1.161 MB / 1.017 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.2194, allocations: 297.4 kB / 1.018 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.2197, allocations: 224.1 kB / 1.018 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2198, allocations: 0.516 MB / 1.018 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.2203, allocations: 273.6 kB / 1.019 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.2211, allocations: 0.7658 MB / 1.019 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.2224, allocations: 0.8119 MB / 1.02 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2224, allocations: 0 / 1.02 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00199/0.2244, allocations: 1.267 MB / 1.021 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.2244, allocations: 71.39 kB / 1.022 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2244, allocations: 4 kB / 1.022 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.2258, allocations: 0.5858 MB / 1.022 GB, free: 8.438 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.2265, allocations: 191.7 kB / 1.022 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.2286, allocations: 3.065 MB / 1.025 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.2294, allocations: 151.2 kB / 1.025 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-05/0.2295, allocations: 52.02 kB / 1.025 GB, free: 4.828 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (90): * Single equations (assignments): 85 * 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.0003819/0.2299, allocations: 287.5 kB / 1.026 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.2302, allocations: 266.5 kB / 1.026 GB, free: 4.262 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.2328, allocations: 1.309 MB / 1.027 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.2328, allocations: 11.94 kB / 1.027 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2328, allocations: 0 / 1.027 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2329, allocations: 3.984 kB / 1.027 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.2377, allocations: 3.102 MB / 1.03 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.2377, allocations: 7.938 kB / 1.03 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.2381, allocations: 120.1 kB / 1.03 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.2395, allocations: 0.581 MB / 1.031 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.2395, allocations: 35.97 kB / 1.031 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.2418, allocations: 3.033 MB / 1.034 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2418, allocations: 8.125 kB / 1.034 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.2443, allocations: 1.501 MB / 1.036 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/0.2449, allocations: 418 kB / 1.036 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.2451, allocations: 31.94 kB / 1.036 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007529/0.2459, allocations: 71.92 kB / 1.036 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.246, allocations: 72.53 kB / 1.036 GB, free: 9.543 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.2461, allocations: 43.97 kB / 1.036 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001598/0.2477, allocations: 1.429 MB / 1.038 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/0.2477, allocations: 4 kB / 1.038 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001358/0.2491, allocations: 0.6785 MB / 1.038 GB, free: 7.375 MB / 0.9948 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.0006594/0.2497, allocations: 395.4 kB / 1.039 GB, free: 6.977 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.2514, allocations: 1.14 MB / 1.04 GB, free: 5.766 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2515, allocations: 4.062 kB / 1.04 GB, free: 5.762 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.2524, allocations: 0.728 MB / 1.04 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.2551, allocations: 0.8488 MB / 1.041 GB, free: 4.133 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.2607, allocations: 3.837 MB / 1.045 GB, free: 184 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.2611, allocations: 0.4903 MB / 1.045 GB, free: 15.67 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007872/0.2619, allocations: 310.4 kB / 1.046 GB, free: 15.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.2622, allocations: 128.5 kB / 1.046 GB, free: 15.24 MB / 1.01 GB Notification: Performance of SimCode: time 8.11e-07/0.2622, allocations: 0 / 1.046 GB, free: 15.24 MB / 1.01 GB Notification: Performance of Templates: time 0.3968/0.659, allocations: 43.92 MB / 1.089 GB, free: 120.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 6.376284587662667]