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.0009908/0.0009908, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009654/0.0009654, allocations: 181.3 kB / 24.09 MB, free: 416 kB / 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.9051/0.9051, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.927/1.927, allocations: 377.9 MB / 0.624 GB, free: 8.438 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 2.094e-06/2.094e-06, allocations: 0 / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.633e-05, allocations: 6.25 kB / 0.812 GB, free: 1.488 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.001369/0.001385, allocations: 0.8524 MB / 0.8128 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.00254, allocations: 1.218 MB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.002606, allocations: 8.5 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.002721, allocations: 23.73 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.002761, allocations: 24.53 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.0031, allocations: 144.5 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.003253, allocations: 175.5 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.003336, allocations: 22.23 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.003422, allocations: 81.38 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.436e-05/0.003496, allocations: 39.89 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.003518, allocations: 16 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.003569, allocations: 23.98 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.00359, allocations: 21.44 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.003629, allocations: 39.86 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.003766, allocations: 119.6 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003769, allocations: 4 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003769, allocations: 0.5312 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.003772, allocations: 0 / 0.8147 GB, free: 14.7 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.0003727/0.004145, allocations: 463 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.004178, allocations: 12.03 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.004216, allocations: 20.84 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.004361, allocations: 162.4 kB / 0.8154 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.004376, allocations: 12.38 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.00439, allocations: 12.31 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.004477, allocations: 91.03 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.004483, allocations: 192 / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.004492, allocations: 4.375 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.004496, allocations: 1.125 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.00452, allocations: 23.86 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.004837, allocations: 0.5691 MB / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.943e-05/0.004876, allocations: 32.28 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.00489, allocations: 15.61 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.004896, allocations: 8.047 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/0.004962, allocations: 66.84 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.004963, allocations: 3.938 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001171/0.00508, allocations: 61.64 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.005106, allocations: 55.41 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.0052, allocations: 210 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.005215, allocations: 29.7 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.005272, allocations: 150.8 kB / 0.8167 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.005282, allocations: 15.94 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.005327, allocations: 35.91 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005434, allocations: 0.4928 MB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.005482, allocations: 57.67 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.005534, allocations: 85.95 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.005592, allocations: 77.42 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.005595, allocations: 3.938 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001575/0.005752, allocations: 173.5 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.005778, allocations: 39.73 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005782, allocations: 0 / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.005792, allocations: 4 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.005827, allocations: 11.86 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.005831, allocations: 4 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.005922, allocations: 21.19 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.005933, allocations: 4 kB / 0.8176 GB, free: 11.43 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.039e-05/0.006003, allocations: 177.9 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-06/0.006013, allocations: 11.95 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.006035, allocations: 8.344 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.006037, allocations: 0.625 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.006039, allocations: 8.062 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.006042, allocations: 0.8125 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.07e-05/0.006112, allocations: 113.2 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.006113, allocations: 0.9375 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-06/0.00612, allocations: 0 / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.006123, allocations: 5.281 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.006127, allocations: 4 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006127, allocations: 0 / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006128, allocations: 0 / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.26e-05/0.0062, allocations: 105.3 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.006211, allocations: 11.83 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.006219, allocations: 4 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.00623, allocations: 2.312 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.006245, allocations: 0 / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.006248, allocations: 3.984 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.006294, allocations: 147.2 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006294, allocations: 4 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001345/0.006428, allocations: 19.95 kB / 0.8182 GB, free: 10.76 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 8.411e-05/0.006512, allocations: 106.7 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.006637, allocations: 148.7 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.006638, allocations: 0 / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.006667, allocations: 16.06 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.006809, allocations: 16.8 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.007033, allocations: 185.8 kB / 0.8187 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.927e-05/0.007062, allocations: 67.78 kB / 0.8188 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.007085, allocations: 13.77 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.007161, allocations: 98.17 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of SimCode: time 6.22e-07/0.007162, allocations: 4.5 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.002885/0.01005, allocations: 1.663 MB / 0.8205 GB, free: 8.445 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.015396886039525]