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.001142/0.001142, allocations: 81.86 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.001192/0.001192, allocations: 181 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.9423/0.9423, 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 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.791/1.791, allocations: 359 MB / 0.6055 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.673e-06/1.673e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.173e-05, allocations: 4.844 kB / 0.7875 GB, free: 12.19 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.001944/0.001966, allocations: 0.864 MB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.003513, allocations: 1.206 MB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.003601, allocations: 8.75 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.003747, allocations: 27.73 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.003803, allocations: 20.34 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.004237, allocations: 140.2 kB / 0.7898 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.004464, allocations: 173 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.004586, allocations: 29.56 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.00471, allocations: 75.89 kB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.004826, allocations: 44.92 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.004858, allocations: 16 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.417e-05/0.004932, allocations: 24 kB / 0.7901 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.004962, allocations: 21.11 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.005019, allocations: 43.91 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.005207, allocations: 119.6 kB / 0.7903 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005209, allocations: 1.5 kB / 0.7903 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.21e-07/0.00521, allocations: 0 / 0.7903 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.005213, allocations: 0 / 0.7903 GB, free: 9.398 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.0004678/0.005681, allocations: 461.8 kB / 0.7907 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.005724, allocations: 13.12 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.005776, allocations: 16.84 kB / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.005976, allocations: 171.4 kB / 0.7909 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.005993, allocations: 4.375 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.006013, allocations: 9.531 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.006131, allocations: 93.98 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006139, allocations: 192 / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.006147, allocations: 1.969 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.006154, allocations: 8.312 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.006186, allocations: 19.86 kB / 0.791 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.006613, allocations: 0.5645 MB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.006664, allocations: 36.34 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.006681, allocations: 15.73 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/0.006687, allocations: 2.906 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.382e-05/0.006781, allocations: 68.98 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.006783, allocations: 0 / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001721/0.006955, allocations: 61.64 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.006987, allocations: 55.41 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.007128, allocations: 208.2 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.007152, allocations: 33.7 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.007235, allocations: 154.8 kB / 0.7922 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.007249, allocations: 4.672 kB / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.007319, allocations: 47.33 kB / 0.7922 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.007502, allocations: 0.49 MB / 0.7927 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.007574, allocations: 53.69 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.007793, allocations: 84.84 kB / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.806e-05/0.007881, allocations: 82.58 kB / 0.7929 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.007884, allocations: 3.938 kB / 0.7929 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002212/0.008105, allocations: 184.9 kB / 0.7931 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.008138, allocations: 30.89 kB / 0.7931 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.008144, allocations: 4.047 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.008157, allocations: 3.984 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.008205, allocations: 17.55 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.008208, allocations: 0 / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.008335, allocations: 19.94 kB / 0.7932 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.00835, allocations: 4 kB / 0.7932 GB, free: 6.133 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 8.511e-05/0.008435, allocations: 170.2 kB / 0.7934 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.00845, allocations: 11.95 kB / 0.7934 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.008478, allocations: 8.344 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.008479, allocations: 4.844 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.00848, allocations: 0 / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.008483, allocations: 0 / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.85e-05/0.008581, allocations: 121.7 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008583, allocations: 0.7188 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.008598, allocations: 4 kB / 0.7935 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008601, allocations: 4.469 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.008606, allocations: 1.312 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.008606, allocations: 0 / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008608, allocations: 0 / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.008711, allocations: 100.3 kB / 0.7936 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.008729, allocations: 16.36 kB / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.00874, allocations: 1.375 kB / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.008759, allocations: 0 / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.008781, allocations: 7.984 kB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.008786, allocations: 4 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.008848, allocations: 144.3 kB / 0.7938 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008848, allocations: 0 / 0.7938 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002341/0.009082, allocations: 23.94 kB / 0.7938 GB, free: 5.465 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 0.0001223/0.009204, allocations: 104.4 kB / 0.7939 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.009378, allocations: 145.5 kB / 0.794 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.00938, allocations: 0 / 0.794 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.009412, allocations: 16.62 kB / 0.794 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.009631, allocations: 25.39 kB / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.009943, allocations: 201.7 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.009984, allocations: 64.17 kB / 0.7943 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.01002, allocations: 4.734 kB / 0.7943 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.01013, allocations: 96.17 kB / 0.7944 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.01013, allocations: 0 / 0.7944 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of Templates: time 0.003502/0.01363, allocations: 1.67 MB / 0.796 GB, free: 3.141 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.868772400077432]