Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.0009282/0.0009282, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001062/0.001062, allocations: 177 kB / 24.08 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.9261/0.9261, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.735/1.735, allocations: 359 MB / 0.6055 GB, free: 10.85 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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.706e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.00134/0.001357, allocations: 0.7488 MB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.002757, allocations: 1.197 MB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.002826, allocations: 0.7188 kB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.002945, allocations: 23.78 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.002982, allocations: 17.05 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.003332, allocations: 128.5 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.003475, allocations: 135.7 kB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.003562, allocations: 16.55 kB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.003638, allocations: 55.91 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.003715, allocations: 36.56 kB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.003735, allocations: 8 kB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.321e-05/0.003788, allocations: 24.89 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.003809, allocations: 11.94 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.003845, allocations: 36.55 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003969, allocations: 91.7 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003971, allocations: 0.7188 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.22e-07/0.003971, allocations: 0 / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003975, allocations: 1.656 kB / 0.79 GB, free: 9.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003417/0.004317, allocations: 438 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.004352, allocations: 8.031 kB / 0.7904 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.004386, allocations: 12.89 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.004529, allocations: 157.8 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.004539, allocations: 4.375 kB / 0.7906 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.004552, allocations: 9.969 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.113e-05/0.004633, allocations: 73.25 kB / 0.7907 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.00464, allocations: 192 / 0.7907 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.004647, allocations: 4.359 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004652, allocations: 3.812 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.004668, allocations: 15.92 kB / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.004946, allocations: 0.5333 MB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.144e-05/0.004978, allocations: 27.06 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-06/0.004986, allocations: 11.62 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.004991, allocations: 3.938 kB / 0.7913 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.246e-05/0.005063, allocations: 65.11 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.005064, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001213/0.005186, allocations: 54.17 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.005214, allocations: 60 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.005299, allocations: 200.7 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.005314, allocations: 34.22 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.005371, allocations: 142.8 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-06/0.005378, allocations: 4.75 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.00542, allocations: 35.34 kB / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.005525, allocations: 0.4932 MB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.005568, allocations: 49.69 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.944e-05/0.005618, allocations: 77.27 kB / 0.7924 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.005677, allocations: 86.06 kB / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005679, allocations: 0 / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001446/0.005824, allocations: 170.1 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.005854, allocations: 41.69 kB / 0.7927 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.005858, allocations: 3.938 kB / 0.7927 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.005868, allocations: 0.5938 kB / 0.7927 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.365e-05/0.005882, allocations: 4.781 kB / 0.7927 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.005885, allocations: 0 / 0.7927 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.005989, allocations: 24.91 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.006002, allocations: 7.984 kB / 0.7928 GB, free: 6.574 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: 4 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.473e-05/0.006067, allocations: 157.5 kB / 0.7929 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.006076, allocations: 7.938 kB / 0.7929 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.0061, allocations: 14.56 kB / 0.7929 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.006103, allocations: 3.984 kB / 0.7929 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.006105, allocations: 4.062 kB / 0.7929 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006108, allocations: 0 / 0.7929 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.666e-05/0.006174, allocations: 109.2 kB / 0.793 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006175, allocations: 0 / 0.793 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-06/0.006178, allocations: 11 kB / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006179, allocations: 0 / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.006184, allocations: 3.938 kB / 0.7931 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.006184, allocations: 0 / 0.7931 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006185, allocations: 0 / 0.7931 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.832e-05/0.006253, allocations: 92.61 kB / 0.7931 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.006264, allocations: 11.94 kB / 0.7932 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.006273, allocations: 3.938 kB / 0.7932 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.006282, allocations: 5.312 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.006299, allocations: 0 / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.006301, allocations: 4 kB / 0.7932 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.006342, allocations: 131.2 kB / 0.7933 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006342, allocations: 0.625 kB / 0.7933 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001394/0.006481, allocations: 24.48 kB / 0.7933 GB, free: 5.945 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: 3 ($whenCondition1,$whenCondition2,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001031/0.006585, allocations: 108.1 kB / 0.7934 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.006722, allocations: 141.8 kB / 0.7936 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006724, allocations: 0 / 0.7936 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.766e-05/0.006741, allocations: 11.69 kB / 0.7936 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.006894, allocations: 18.62 kB / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.007139, allocations: 164.1 kB / 0.7937 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.007172, allocations: 63.34 kB / 0.7938 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.751e-05/0.00719, allocations: 7.922 kB / 0.7938 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.007266, allocations: 91 kB / 0.7939 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.007267, allocations: 0 / 0.7939 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.002979/0.01025, allocations: 1.299 MB / 0.7952 GB, free: 4.023 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.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.6572887832298875]