Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001034/0.001034, 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.0009831/0.0009831, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9179/0.9179, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.89/1.89, allocations: 377.9 MB / 0.6236 GB, free: 8.535 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.893e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.00152/0.001549, allocations: 0.8775 MB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.00291, allocations: 1.207 MB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.002979, allocations: 3.938 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.003113, allocations: 31.72 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.003158, allocations: 21.02 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.003536, allocations: 144.3 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.00371, allocations: 175.5 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003813, allocations: 22.52 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.003896, allocations: 83.86 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.003978, allocations: 47.77 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.004001, allocations: 12.62 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.93e-05/0.00406, allocations: 28.52 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.004082, allocations: 11.92 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.004137, allocations: 44.41 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.004324, allocations: 120.9 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004327, allocations: 3.938 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004327, allocations: 0 / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004332, allocations: 2.344 kB / 0.8143 GB, free: 14.92 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.0005094/0.004841, allocations: 457.9 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.004881, allocations: 8.031 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.004942, allocations: 20.84 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.00516, allocations: 169 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.005223, allocations: 8.359 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.005242, allocations: 13.91 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.005372, allocations: 97.94 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.005381, allocations: 192 / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.005392, allocations: 384 / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.005401, allocations: 5.578 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.005439, allocations: 27.86 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.005849, allocations: 0.5912 MB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.005904, allocations: 31.55 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.00592, allocations: 13.03 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.005925, allocations: 0 / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.507e-05/0.006, allocations: 72.97 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006001, allocations: 1.312 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002284/0.00623, allocations: 65.64 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.006258, allocations: 55.39 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.006366, allocations: 217.2 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.006381, allocations: 26.23 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.006441, allocations: 158.8 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.577e-06/0.006449, allocations: 8.766 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.006495, allocations: 43.36 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.006595, allocations: 0.493 MB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.006657, allocations: 57.69 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.006718, allocations: 85.27 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.313e-05/0.006791, allocations: 90.12 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006793, allocations: 0 / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001693/0.006962, allocations: 182 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.00699, allocations: 41.69 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.006995, allocations: 0 / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.007007, allocations: 4.688 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.34e-05/0.007051, allocations: 0 / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.007057, allocations: 4.688 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.00716, allocations: 20.56 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.007173, allocations: 9.297 kB / 0.8172 GB, free: 11.59 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.745e-05/0.00724, allocations: 168.5 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.007251, allocations: 12.02 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.007275, allocations: 17.23 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.007277, allocations: 4 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.00728, allocations: 0.8438 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007283, allocations: 0 / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.007486, allocations: 136.5 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007486, allocations: 1.281 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.007496, allocations: 7.938 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.007497, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007505, allocations: 4.594 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.007506, allocations: 0 / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007507, allocations: 4.812 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.619e-05/0.007583, allocations: 100.3 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.007594, allocations: 9.516 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.007603, allocations: 0 / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.007615, allocations: 4 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.007642, allocations: 8.266 kB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007646, allocations: 4.844 kB / 0.8177 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.007706, allocations: 151.2 kB / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007706, allocations: 0 / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001454/0.007852, allocations: 31.39 kB / 0.8179 GB, free: 10.88 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0001065/0.007958, allocations: 103.2 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.008124, allocations: 148.7 kB / 0.8181 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008126, allocations: 0 / 0.8181 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.008148, allocations: 23.61 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.008301, allocations: 22.36 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.008558, allocations: 193.9 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.892e-05/0.008587, allocations: 59.34 kB / 0.8184 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.008606, allocations: 4.734 kB / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.008624, allocations: 13.16 kB / 0.8184 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of SimCode: time 4.6e-07/0.008624, allocations: 0 / 0.8184 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of Templates: time 0.003108/0.01173, allocations: 1.663 MB / 0.82 GB, free: 8.652 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.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.190298694185913]