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.001033/0.001033, allocations: 83.59 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.001007/0.001007, allocations: 165.3 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.019/1.019, 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.923/1.923, allocations: 377.8 MB / 0.6236 GB, free: 8.52 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.673e-06/1.673e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.998e-05, allocations: 3.219 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.001448/0.001468, allocations: 0.8741 MB / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.002727, allocations: 1.215 MB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.002802, allocations: 7.938 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.002935, allocations: 19.8 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.002979, allocations: 23.8 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.003367, allocations: 148.9 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.003546, allocations: 167.6 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.003653, allocations: 25.56 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.003738, allocations: 80.98 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.003824, allocations: 47.86 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.003848, allocations: 16 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-05/0.003904, allocations: 21.38 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.003926, allocations: 15.92 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.003977, allocations: 39.91 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.004144, allocations: 124.9 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004146, allocations: 0 / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004146, allocations: 0 / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.00415, allocations: 0 / 0.8143 GB, free: 14.93 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.0004414/0.004592, allocations: 466.4 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004628, allocations: 8.031 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.004679, allocations: 22.19 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.004869, allocations: 164.9 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.004887, allocations: 4.375 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.004908, allocations: 14.31 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.005028, allocations: 97.94 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.005038, allocations: 192 / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.005049, allocations: 384 / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.005058, allocations: 4.375 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.005094, allocations: 25.83 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.005491, allocations: 0.5951 MB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/0.005538, allocations: 27.12 kB / 0.8157 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.005555, allocations: 11.69 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.005561, allocations: 0.625 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.827e-05/0.005639, allocations: 69.56 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.00564, allocations: 0.7188 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001584/0.005799, allocations: 69.58 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.005827, allocations: 55.94 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.005939, allocations: 212.7 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.005955, allocations: 27.14 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.006019, allocations: 158.8 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.006027, allocations: 3.953 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.006077, allocations: 47.88 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.006186, allocations: 0.4922 MB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.006252, allocations: 58.58 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.006315, allocations: 88.73 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.006391, allocations: 85.48 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006393, allocations: 1.219 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001865/0.006579, allocations: 193.2 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.006608, allocations: 37.2 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.006613, allocations: 4 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.006629, allocations: 5.375 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.006674, allocations: 3.984 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.00668, allocations: 7.938 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.922e-05/0.006779, allocations: 21.12 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.006791, allocations: 4 kB / 0.8172 GB, free: 11.6 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 7.407e-05/0.006865, allocations: 174.3 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.006876, allocations: 11.95 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.006904, allocations: 8.344 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006905, allocations: 4 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.006909, allocations: 3.938 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006912, allocations: 2.469 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.357e-05/0.006995, allocations: 144.5 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006996, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.007005, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.007006, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.007012, allocations: 4 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.007013, allocations: 4 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.007013, allocations: 0.5 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.441e-05/0.007098, allocations: 101.2 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.00711, allocations: 11.88 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.007121, allocations: 5.5 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.007132, allocations: 4 kB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.007155, allocations: 0 / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.00716, allocations: 4 kB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.007218, allocations: 147.2 kB / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007218, allocations: 0.6875 kB / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001457/0.007363, allocations: 29.3 kB / 0.8179 GB, free: 10.89 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.0001014/0.007465, allocations: 103.2 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.007625, allocations: 149.5 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007627, allocations: 0 / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.00765, allocations: 16.34 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.007815, allocations: 31.8 kB / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.00809, allocations: 188.4 kB / 0.8183 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.008123, allocations: 60.52 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.008146, allocations: 12.72 kB / 0.8184 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.008166, allocations: 12.5 kB / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.008166, allocations: 0 / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.003177/0.01134, allocations: 1.528 MB / 0.8199 GB, free: 8.777 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.439445390831679]