Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.0009901/0.0009901, allocations: 83.59 kB / 20.45 MB, free: 4.105 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.0009711/0.0009711, allocations: 169 kB / 23.82 MB, free: 0.7344 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.9887/0.9887, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.881/1.881, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0.5469 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.867e-05, allocations: 3.219 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001276/0.001294, allocations: 0.7632 MB / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.002672, allocations: 1.201 MB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.002731, allocations: 5.5 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.002854, allocations: 19.86 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.549e-05/0.002879, allocations: 7.875 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.00323, allocations: 140.2 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.003367, allocations: 128.2 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.003461, allocations: 17.06 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.003531, allocations: 63.89 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.003605, allocations: 39.81 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.003626, allocations: 8.656 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.256e-05/0.003679, allocations: 20 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.0037, allocations: 14.33 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.003743, allocations: 31.97 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.003888, allocations: 91.7 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.00389, allocations: 0 / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003891, allocations: 3.938 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003895, allocations: 0 / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003478/0.004243, allocations: 438.9 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.004277, allocations: 8.031 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.004321, allocations: 12.89 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.004487, allocations: 154.8 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.004496, allocations: 384 / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.004513, allocations: 8.375 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.2e-05/0.004605, allocations: 81.23 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004613, allocations: 2.125 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.004622, allocations: 384 / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.00463, allocations: 4.375 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.004652, allocations: 15.86 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.004981, allocations: 0.5523 MB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.005019, allocations: 36.62 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.12e-05/0.00503, allocations: 7.688 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-06/0.005034, allocations: 0 / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/0.005103, allocations: 65.11 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.005104, allocations: 0.9062 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001379/0.005242, allocations: 65.58 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.005269, allocations: 51.94 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.005358, allocations: 202.3 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.005372, allocations: 25.7 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.005425, allocations: 147.4 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.005431, allocations: 1.188 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.005476, allocations: 39.36 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.005576, allocations: 0.4923 MB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.005633, allocations: 54.22 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.005696, allocations: 84.73 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.652e-05/0.005762, allocations: 90.28 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005765, allocations: 3.938 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001627/0.005927, allocations: 174.1 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.005957, allocations: 41.69 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.00596, allocations: 0.9688 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.005972, allocations: 0 / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.335e-05/0.005985, allocations: 8.781 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005989, allocations: 0 / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.006105, allocations: 24.77 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.006117, allocations: 4 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.554e-05/0.006183, allocations: 169.7 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.00619, allocations: 8 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.006212, allocations: 9.172 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.006213, allocations: 0 / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.006216, allocations: 0 / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.006219, allocations: 1.094 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.364e-05/0.006293, allocations: 132.6 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006294, allocations: 3.938 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-06/0.006298, allocations: 1.438 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.006301, allocations: 7.984 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.006308, allocations: 4 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.006309, allocations: 1.406 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00631, allocations: 0 / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.184e-05/0.006381, allocations: 96.33 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.00639, allocations: 7.891 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.006399, allocations: 6.938 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-06/0.006407, allocations: 3.984 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.006427, allocations: 0 / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.006431, allocations: 4 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.006473, allocations: 136.7 kB / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006473, allocations: 0 / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001401/0.006613, allocations: 23.94 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.991e-05/0.006703, allocations: 103.7 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.006845, allocations: 142 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006846, allocations: 0 / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.006866, allocations: 19.67 kB / 0.8176 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.007004, allocations: 16.83 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.007244, allocations: 163.3 kB / 0.8178 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.007274, allocations: 63.86 kB / 0.8179 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.395e-05/0.007288, allocations: 6.719 kB / 0.8179 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.007306, allocations: 12.5 kB / 0.8179 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of SimCode: time 4.8e-07/0.007307, allocations: 3.938 kB / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.00276/0.01007, allocations: 1.207 MB / 0.8191 GB, free: 9.629 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.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.309692252893001]