Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009722/0.0009722, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001114/0.001114, allocations: 161 kB / 23.82 MB, free: 0.75 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.021/1.021, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.866/1.866, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.396e-06/3.396e-06, allocations: 0 / 0.7871 GB, free: 11.42 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.963e-05, allocations: 6.938 kB / 0.7871 GB, free: 11.41 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.001864/0.001903, allocations: 0.9288 MB / 0.788 GB, free: 10.51 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003288, allocations: 1.213 MB / 0.7892 GB, free: 9.281 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.0034, allocations: 0 / 0.7892 GB, free: 9.281 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.00362, allocations: 27.73 kB / 0.7892 GB, free: 9.254 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.003683, allocations: 24.58 kB / 0.7892 GB, free: 9.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.004225, allocations: 152.5 kB / 0.7894 GB, free: 9.082 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.004425, allocations: 168.5 kB / 0.7895 GB, free: 8.918 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.00454, allocations: 33.5 kB / 0.7896 GB, free: 8.883 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.004634, allocations: 80.77 kB / 0.7896 GB, free: 8.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.362e-05/0.004727, allocations: 47.8 kB / 0.7897 GB, free: 8.758 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.004753, allocations: 12 kB / 0.7897 GB, free: 8.746 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.004812, allocations: 29.06 kB / 0.7897 GB, free: 8.719 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.004835, allocations: 11.92 kB / 0.7897 GB, free: 8.707 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.004887, allocations: 43.91 kB / 0.7898 GB, free: 8.664 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.005062, allocations: 120.5 kB / 0.7899 GB, free: 8.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005065, allocations: 0 / 0.7899 GB, free: 8.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005066, allocations: 4.688 kB / 0.7899 GB, free: 8.543 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.00507, allocations: 0 / 0.7899 GB, free: 8.543 MB / 0.698 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.0005293/0.0056, allocations: 462.3 kB / 0.7903 GB, free: 8.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.005646, allocations: 8.031 kB / 0.7903 GB, free: 8.039 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.005711, allocations: 21.45 kB / 0.7904 GB, free: 8.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.005949, allocations: 168.7 kB / 0.7905 GB, free: 7.832 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.005972, allocations: 4.375 kB / 0.7905 GB, free: 7.828 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.005996, allocations: 13.59 kB / 0.7905 GB, free: 7.816 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.006144, allocations: 93.94 kB / 0.7906 GB, free: 7.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.006157, allocations: 192 / 0.7906 GB, free: 7.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.006171, allocations: 4.375 kB / 0.7906 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.006183, allocations: 1 kB / 0.7906 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.006235, allocations: 21.33 kB / 0.7907 GB, free: 7.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.006741, allocations: 0.595 MB / 0.7912 GB, free: 7.039 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.7e-05/0.006798, allocations: 35 kB / 0.7913 GB, free: 6.992 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.006816, allocations: 16.72 kB / 0.7913 GB, free: 6.973 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-06/0.006824, allocations: 0 / 0.7913 GB, free: 6.973 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.683e-05/0.00691, allocations: 73.89 kB / 0.7914 GB, free: 6.887 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.006911, allocations: 0 / 0.7914 GB, free: 6.887 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.007077, allocations: 70.61 kB / 0.7914 GB, free: 6.812 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.007106, allocations: 51.41 kB / 0.7915 GB, free: 6.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.00721, allocations: 201.9 kB / 0.7917 GB, free: 6.535 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.007227, allocations: 34.23 kB / 0.7917 GB, free: 6.496 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.00729, allocations: 156 kB / 0.7918 GB, free: 6.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.007303, allocations: 7.953 kB / 0.7919 GB, free: 6.332 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.007349, allocations: 35.36 kB / 0.7919 GB, free: 6.289 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.007462, allocations: 0.5 MB / 0.7924 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.007532, allocations: 59.27 kB / 0.7924 GB, free: 5.715 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.007596, allocations: 84.75 kB / 0.7925 GB, free: 5.613 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.171e-05/0.007677, allocations: 89.91 kB / 0.7926 GB, free: 5.508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.00768, allocations: 0 / 0.7926 GB, free: 5.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001792/0.007859, allocations: 188.9 kB / 0.7928 GB, free: 5.305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.007889, allocations: 40.73 kB / 0.7928 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.007895, allocations: 4.062 kB / 0.7928 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.007911, allocations: 0 / 0.7928 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.007964, allocations: 4 kB / 0.7928 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.00797, allocations: 3.984 kB / 0.7928 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.00808, allocations: 19.92 kB / 0.7928 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.008092, allocations: 4 kB / 0.7929 GB, free: 5.227 MB / 0.698 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 7.88e-05/0.008171, allocations: 177.1 kB / 0.793 GB, free: 5.043 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.008185, allocations: 17.55 kB / 0.793 GB, free: 5.027 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.008216, allocations: 12.34 kB / 0.793 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008218, allocations: 0 / 0.793 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.008222, allocations: 0 / 0.793 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.008225, allocations: 1.156 kB / 0.793 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.925e-05/0.008314, allocations: 144.5 kB / 0.7932 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008316, allocations: 0 / 0.7932 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.008327, allocations: 5.047 kB / 0.7932 GB, free: 4.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.008328, allocations: 0 / 0.7932 GB, free: 4.832 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.008334, allocations: 4 kB / 0.7932 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.008335, allocations: 1.75 kB / 0.7932 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008336, allocations: 0 / 0.7932 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.268e-05/0.008428, allocations: 96.33 kB / 0.7933 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.008442, allocations: 7.953 kB / 0.7933 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.008453, allocations: 7.922 kB / 0.7933 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.008469, allocations: 5.188 kB / 0.7933 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.008495, allocations: 0 / 0.7933 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.0085, allocations: 4 kB / 0.7933 GB, free: 4.688 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.008557, allocations: 149.8 kB / 0.7935 GB, free: 4.543 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.008557, allocations: 0 / 0.7935 GB, free: 4.543 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001523/0.008709, allocations: 25.5 kB / 0.7935 GB, free: 4.52 MB / 0.698 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.0001221/0.008831, allocations: 111.1 kB / 0.7936 GB, free: 4.398 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.009003, allocations: 149.3 kB / 0.7937 GB, free: 4.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009004, allocations: 1.688 kB / 0.7937 GB, free: 4.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/0.009027, allocations: 19.67 kB / 0.7937 GB, free: 4.207 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.009207, allocations: 28.83 kB / 0.7938 GB, free: 4.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.009498, allocations: 178.1 kB / 0.7939 GB, free: 3.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.009531, allocations: 67.73 kB / 0.794 GB, free: 3.895 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.009555, allocations: 9.812 kB / 0.794 GB, free: 3.883 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.009579, allocations: 13.03 kB / 0.794 GB, free: 3.871 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.009579, allocations: 0 / 0.794 GB, free: 3.871 MB / 0.698 GB Notification: Performance of Templates: time 0.003181/0.01276, allocations: 1.526 MB / 0.7955 GB, free: 2.414 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.336549796164036]