Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001086/0.001086, allocations: 80.39 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.00121/0.00121, allocations: 172.4 kB / 24.87 MB, free: 9.223 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.9381/0.9381, allocations: 177.1 MB / 205.3 MB, free: 5.504 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 2.003/2.003, allocations: 377.9 MB / 0.6247 GB, free: 8.383 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.228e-05, allocations: 3.312 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002036/0.002058, allocations: 0.9212 MB / 0.8137 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.003705, allocations: 1.21 MB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.003802, allocations: 7.938 kB / 0.8148 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.003954, allocations: 24.42 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.004024, allocations: 20.77 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.004481, allocations: 144.2 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.004722, allocations: 172.8 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.004838, allocations: 25.58 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.00497, allocations: 83.86 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.005081, allocations: 35.89 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.005113, allocations: 20.91 kB / 0.8154 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.196e-05/0.005185, allocations: 31.97 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.005212, allocations: 12.69 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.005272, allocations: 47.89 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.005464, allocations: 112.4 kB / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005467, allocations: 0 / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005467, allocations: 1.25 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.005471, allocations: 0 / 0.8156 GB, free: 14.58 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004863/0.005957, allocations: 461.8 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005993, allocations: 14.12 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.006048, allocations: 20.84 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.00639, allocations: 164.3 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.006412, allocations: 12.31 kB / 0.8162 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.006433, allocations: 9.25 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.006549, allocations: 90 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.006557, allocations: 0.8125 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.006567, allocations: 4.375 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.006573, allocations: 1.125 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.884e-05/0.006612, allocations: 27.86 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.007055, allocations: 0.566 MB / 0.8169 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.007108, allocations: 38.98 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.007126, allocations: 11.75 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.007131, allocations: 1.531 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.042e-05/0.007222, allocations: 68.97 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.007223, allocations: 0 / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000162/0.007385, allocations: 63.36 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.007422, allocations: 55.41 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.007553, allocations: 208.6 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.007577, allocations: 29.7 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.007659, allocations: 154.7 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.007677, allocations: 16.91 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.007745, allocations: 39.34 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.00789, allocations: 0.4923 MB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.188e-05/0.007962, allocations: 51.25 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.008042, allocations: 84.72 kB / 0.8181 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.008135, allocations: 73.3 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.008139, allocations: 7.922 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002389/0.008378, allocations: 182.1 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.008415, allocations: 37.7 kB / 0.8184 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.008421, allocations: 0.75 kB / 0.8184 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.008433, allocations: 3.984 kB / 0.8184 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.202e-05/0.008475, allocations: 8.875 kB / 0.8184 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.008477, allocations: 0 / 0.8184 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.008617, allocations: 20.53 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.008638, allocations: 13.38 kB / 0.8185 GB, free: 11.31 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 9.747e-05/0.008735, allocations: 168.5 kB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.008758, allocations: 9.234 kB / 0.8186 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.008787, allocations: 8.344 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008789, allocations: 0 / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.008792, allocations: 0 / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008795, allocations: 0.875 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.008914, allocations: 121.2 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.008916, allocations: 0.875 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.008936, allocations: 7.938 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.008939, allocations: 3.938 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.008945, allocations: 1.344 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.008945, allocations: 0 / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.008947, allocations: 0 / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.009068, allocations: 97 kB / 0.8189 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.009088, allocations: 11.89 kB / 0.8189 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.009101, allocations: 0.5625 kB / 0.8189 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.221e-05/0.009123, allocations: 5.875 kB / 0.8189 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.009157, allocations: 7.984 kB / 0.8189 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.009161, allocations: 0 / 0.8189 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.417e-05/0.009236, allocations: 143.2 kB / 0.819 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.009236, allocations: 0 / 0.819 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002622/0.009498, allocations: 35.88 kB / 0.8191 GB, free: 10.64 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.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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 0.0001311/0.009629, allocations: 105.9 kB / 0.8192 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.009846, allocations: 140.8 kB / 0.8193 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009848, allocations: 0 / 0.8193 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.009874, allocations: 19.62 kB / 0.8193 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01011, allocations: 23.92 kB / 0.8193 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.01043, allocations: 190.3 kB / 0.8195 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.594e-05/0.01048, allocations: 67.95 kB / 0.8196 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.01051, allocations: 5.234 kB / 0.8196 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.01062, allocations: 91.45 kB / 0.8197 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.01062, allocations: 3.938 kB / 0.8197 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of Templates: time 0.005131/0.01575, allocations: 1.702 MB / 0.8213 GB, free: 8.293 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.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.212313752155751]