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.001381/0.001381, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001142/0.001142, allocations: 161 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 0.9613/0.9613, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.841/1.841, allocations: 359 MB / 0.6052 GB, free: 10.98 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 2.795e-06/2.795e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.182e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.48 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.002273/0.002305, allocations: 0.8725 MB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.004096, allocations: 1.214 MB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.004181, allocations: 7.938 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.004331, allocations: 21.2 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.004379, allocations: 15.86 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.004814, allocations: 152.6 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.005008, allocations: 171.5 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.005113, allocations: 21.58 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.005222, allocations: 89.38 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.005312, allocations: 43.86 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.005338, allocations: 16 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.005403, allocations: 20 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.005429, allocations: 21.48 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.005486, allocations: 39.91 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.005684, allocations: 123.5 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.005687, allocations: 0 / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005688, allocations: 4.531 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.005693, allocations: 0 / 0.7898 GB, free: 9.672 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.0004612/0.006154, allocations: 455.1 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.006191, allocations: 8.031 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.006248, allocations: 20.84 kB / 0.7903 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.006446, allocations: 177.3 kB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.006467, allocations: 8.375 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.006484, allocations: 8.375 kB / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.006608, allocations: 94 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.006616, allocations: 2.25 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.006626, allocations: 384 / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-06/0.006635, allocations: 4.375 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.649e-05/0.006671, allocations: 23.86 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.007083, allocations: 0.5917 MB / 0.7912 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.007138, allocations: 32.72 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.007157, allocations: 11.69 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.007164, allocations: 0 / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.692e-05/0.007251, allocations: 73.03 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.007252, allocations: 4.656 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000168/0.00742, allocations: 61.64 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.007451, allocations: 56.47 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.007565, allocations: 209.8 kB / 0.7916 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.007581, allocations: 25.7 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.007643, allocations: 159.9 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.007655, allocations: 11.95 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.007706, allocations: 39.34 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.007819, allocations: 0.4974 MB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.007887, allocations: 57.67 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.007956, allocations: 88.73 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.008032, allocations: 86.58 kB / 0.7926 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.008034, allocations: 0 / 0.7926 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001876/0.008221, allocations: 188.9 kB / 0.7927 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.008249, allocations: 34.73 kB / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008255, allocations: 4 kB / 0.7928 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.008268, allocations: 4.484 kB / 0.7928 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.795e-05/0.008316, allocations: 4 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.008322, allocations: 3.062 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.008427, allocations: 19.94 kB / 0.7928 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.008441, allocations: 8 kB / 0.7928 GB, free: 6.355 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 9.13e-05/0.008532, allocations: 172.4 kB / 0.793 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.008545, allocations: 7.953 kB / 0.793 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.008571, allocations: 12.34 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.008573, allocations: 0.5 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.008576, allocations: 1.938 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00858, allocations: 240 / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.063e-05/0.00867, allocations: 152.5 kB / 0.7931 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008672, allocations: 0 / 0.7931 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.008683, allocations: 0 / 0.7931 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.008686, allocations: 6.547 kB / 0.7931 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.008693, allocations: 7.938 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.008695, allocations: 0 / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008696, allocations: 0 / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.349e-05/0.008789, allocations: 96.33 kB / 0.7932 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.008804, allocations: 19.81 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.008815, allocations: 4 kB / 0.7933 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.008829, allocations: 0.7188 kB / 0.7933 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.008853, allocations: 0 / 0.7933 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.008859, allocations: 4.844 kB / 0.7933 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.008918, allocations: 153.2 kB / 0.7934 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008918, allocations: 0 / 0.7934 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001537/0.009072, allocations: 24.8 kB / 0.7934 GB, free: 5.641 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.0001104/0.009182, allocations: 104.5 kB / 0.7935 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.009354, allocations: 148.7 kB / 0.7937 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/0.009374, allocations: 4.844 kB / 0.7937 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.009396, allocations: 11.69 kB / 0.7937 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.009577, allocations: 34.42 kB / 0.7937 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.009869, allocations: 189.8 kB / 0.7939 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.009904, allocations: 63.34 kB / 0.794 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.009931, allocations: 10 kB / 0.794 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.009951, allocations: 12.5 kB / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.009951, allocations: 0 / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.003517/0.01347, allocations: 1.647 MB / 0.7956 GB, free: 3.41 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.92910836590454]