Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001025/0.001025, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009775/0.0009775, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.947/0.947, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.749/1.749, allocations: 359 MB / 0.6063 GB, free: 10.88 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.132e-05, allocations: 7.391 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.002163/0.002185, allocations: 0.8538 MB / 0.7891 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.003834, allocations: 1.219 MB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.003933, allocations: 3.938 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.004085, allocations: 19.86 kB / 0.7903 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.004147, allocations: 32.44 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.004604, allocations: 144.3 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.004845, allocations: 163.6 kB / 0.7907 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.004969, allocations: 30.81 kB / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005088, allocations: 79.83 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.005193, allocations: 43.86 kB / 0.7908 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.005222, allocations: 13.41 kB / 0.7908 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.005293, allocations: 28 kB / 0.7909 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.005321, allocations: 11.92 kB / 0.7909 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.005379, allocations: 43.91 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.005581, allocations: 124.6 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005583, allocations: 0 / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005583, allocations: 0 / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.005588, allocations: 1.5 kB / 0.791 GB, free: 9.41 MB / 0.7448 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.0005105/0.006099, allocations: 461.9 kB / 0.7915 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.006137, allocations: 8.031 kB / 0.7915 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.006192, allocations: 20.84 kB / 0.7915 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.00641, allocations: 168 kB / 0.7917 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.00643, allocations: 8.375 kB / 0.7917 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.006452, allocations: 9.969 kB / 0.7917 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.006579, allocations: 97.91 kB / 0.7918 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.006588, allocations: 192 / 0.7918 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.006598, allocations: 4.375 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.006605, allocations: 384 / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.00664, allocations: 25.61 kB / 0.7918 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.007089, allocations: 0.5567 MB / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.667e-05/0.007146, allocations: 38.94 kB / 0.7924 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.007165, allocations: 22.17 kB / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.007171, allocations: 0 / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.313e-05/0.007264, allocations: 61.11 kB / 0.7925 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.007265, allocations: 0 / 0.7925 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001688/0.007434, allocations: 69.58 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.007469, allocations: 51.41 kB / 0.7926 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.007606, allocations: 217 kB / 0.7928 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.007628, allocations: 29.69 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.007705, allocations: 156.4 kB / 0.793 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.007716, allocations: 3.953 kB / 0.793 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.007792, allocations: 47.33 kB / 0.793 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.007934, allocations: 0.4923 MB / 0.7935 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.008, allocations: 50.84 kB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.008078, allocations: 84.72 kB / 0.7936 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.008167, allocations: 82.06 kB / 0.7937 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.008171, allocations: 4 kB / 0.7937 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002413/0.008412, allocations: 182.7 kB / 0.7939 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.008447, allocations: 37.7 kB / 0.7939 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.008452, allocations: 0 / 0.7939 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.008463, allocations: 3.984 kB / 0.7939 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.008505, allocations: 4 kB / 0.7939 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.008508, allocations: 0.625 kB / 0.7939 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.008645, allocations: 20.84 kB / 0.7939 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.008662, allocations: 8 kB / 0.7939 GB, free: 6.148 MB / 0.7448 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 0.0001207/0.008783, allocations: 174.4 kB / 0.7941 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.008799, allocations: 7.953 kB / 0.7941 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.008827, allocations: 8.344 kB / 0.7941 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008829, allocations: 0 / 0.7941 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.00883, allocations: 2.156 kB / 0.7941 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008833, allocations: 0 / 0.7941 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.297e-05/0.008916, allocations: 121.2 kB / 0.7942 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008917, allocations: 0 / 0.7942 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.008934, allocations: 7.938 kB / 0.7943 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.008937, allocations: 3.938 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.008941, allocations: 0.5312 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008942, allocations: 0 / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.008943, allocations: 0.7188 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.935e-05/0.009032, allocations: 100.5 kB / 0.7944 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.009045, allocations: 16.36 kB / 0.7944 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.009054, allocations: 1.641 kB / 0.7944 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.009071, allocations: 7.984 kB / 0.7944 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.009279, allocations: 7.984 kB / 0.7944 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.009283, allocations: 0 / 0.7944 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.009332, allocations: 143.7 kB / 0.7945 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009332, allocations: 0 / 0.7945 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001454/0.009478, allocations: 33.25 kB / 0.7946 GB, free: 5.469 MB / 0.7448 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 9.068e-05/0.009568, allocations: 99.25 kB / 0.7946 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.009715, allocations: 145.6 kB / 0.7948 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009716, allocations: 0.8438 kB / 0.7948 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.797e-05/0.009734, allocations: 11.69 kB / 0.7948 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.00989, allocations: 21.27 kB / 0.7948 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.01012, allocations: 194.3 kB / 0.795 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.869e-05/0.01015, allocations: 60.09 kB / 0.7951 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.01017, allocations: 8.734 kB / 0.7951 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.01024, allocations: 91.86 kB / 0.7952 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01024, allocations: 0 / 0.7952 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.003048/0.01329, allocations: 1.705 MB / 0.7968 GB, free: 3.129 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.872730681207031]