Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001458/0.001458, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.001825/0.001825, allocations: 173 kB / 23.28 MB, free: 1.219 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.018/1.018, allocations: 177.1 MB / 203.7 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.266/2.266, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.798e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.00199/0.002007, allocations: 0.9141 MB / 0.8906 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.003519, allocations: 1.213 MB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.003607, allocations: 8 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.003747, allocations: 23.73 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.003805, allocations: 23.84 kB / 0.8919 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.004235, allocations: 143.5 kB / 0.892 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.004665, allocations: 179.5 kB / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.004753, allocations: 25.58 kB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.004839, allocations: 79.88 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.004913, allocations: 35.89 kB / 0.8923 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.004937, allocations: 16 kB / 0.8923 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.004989, allocations: 31.92 kB / 0.8924 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.005012, allocations: 27.84 kB / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.005051, allocations: 35.92 kB / 0.8924 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.005183, allocations: 115.7 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005185, allocations: 0 / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.42e-07/0.005185, allocations: 4 kB / 0.8925 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.005189, allocations: 0 / 0.8925 GB, free: 6.895 MB / 0.8542 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.0003744/0.005563, allocations: 465.8 kB / 0.893 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.005606, allocations: 8.031 kB / 0.893 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.005646, allocations: 16.89 kB / 0.893 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.005792, allocations: 172.3 kB / 0.8932 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.005805, allocations: 4.375 kB / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.005821, allocations: 12.38 kB / 0.8932 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.711e-05/0.005908, allocations: 97.88 kB / 0.8933 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.005914, allocations: 192 / 0.8933 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.00592, allocations: 384 / 0.8933 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005924, allocations: 384 / 0.8933 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.005944, allocations: 19.86 kB / 0.8933 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.006254, allocations: 0.5762 MB / 0.8939 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.833e-05/0.006292, allocations: 35 kB / 0.8939 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.05e-05/0.006303, allocations: 7.688 kB / 0.8939 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.006309, allocations: 8 kB / 0.8939 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.39e-05/0.006383, allocations: 73.02 kB / 0.894 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006384, allocations: 0 / 0.894 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001157/0.006499, allocations: 61.64 kB / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.006524, allocations: 51.41 kB / 0.8941 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.006608, allocations: 208.2 kB / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.006622, allocations: 29.7 kB / 0.8943 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.006679, allocations: 166.7 kB / 0.8945 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.006693, allocations: 11.91 kB / 0.8945 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.006734, allocations: 39.34 kB / 0.8945 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.006828, allocations: 0.4884 MB / 0.895 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.006869, allocations: 53.67 kB / 0.895 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.006919, allocations: 76.75 kB / 0.8951 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.024e-05/0.006979, allocations: 92.73 kB / 0.8952 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.006982, allocations: 3.938 kB / 0.8952 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001443/0.007126, allocations: 184.9 kB / 0.8954 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.007149, allocations: 33.7 kB / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.007153, allocations: 0 / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.007162, allocations: 0 / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-05/0.007197, allocations: 4 kB / 0.8954 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.0072, allocations: 0 / 0.8954 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.589e-05/0.007295, allocations: 23.97 kB / 0.8954 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.007307, allocations: 4 kB / 0.8954 GB, free: 3.613 MB / 0.8542 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 6.527e-05/0.007372, allocations: 164.5 kB / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.007382, allocations: 12.02 kB / 0.8956 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.007408, allocations: 16.33 kB / 0.8956 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00741, allocations: 3.938 kB / 0.8956 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007411, allocations: 0 / 0.8956 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.007415, allocations: 240 / 0.8956 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.919e-05/0.007494, allocations: 117.2 kB / 0.8957 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007495, allocations: 0 / 0.8957 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.007508, allocations: 11.92 kB / 0.8958 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.00751, allocations: 7.922 kB / 0.8958 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.007514, allocations: 0 / 0.8958 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.007515, allocations: 0 / 0.8958 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007516, allocations: 4 kB / 0.8958 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.424e-05/0.00759, allocations: 96.38 kB / 0.8959 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.007602, allocations: 15.88 kB / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.00761, allocations: 0 / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.007621, allocations: 0 / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.007637, allocations: 4 kB / 0.8959 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.007642, allocations: 8 kB / 0.8959 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.00769, allocations: 151 kB / 0.896 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.00769, allocations: 0 / 0.896 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001344/0.007824, allocations: 23.94 kB / 0.8961 GB, free: 2.918 MB / 0.8542 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 8.449e-05/0.007909, allocations: 107.2 kB / 0.8962 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.008034, allocations: 136.8 kB / 0.8963 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008036, allocations: 4 kB / 0.8963 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/0.008057, allocations: 23.61 kB / 0.8963 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.008198, allocations: 15.98 kB / 0.8963 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.008427, allocations: 189.8 kB / 0.8965 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.711e-05/0.008454, allocations: 63.47 kB / 0.8966 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.008474, allocations: 8.719 kB / 0.8966 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.008545, allocations: 90.19 kB / 0.8967 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.008546, allocations: 0 / 0.8967 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of Templates: time 0.002836/0.01138, allocations: 1.671 MB / 0.8983 GB, free: 0.5781 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.204979025758803]