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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 201 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001948/0.001948, allocations: 71.83 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8291/0.831, allocations: 168.7 MB / 1.274 GB, free: 4.605 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002274/0.8333, allocations: 0.8613 MB / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.8348, allocations: 1.172 MB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.8349, allocations: 7.938 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.8351, allocations: 27.78 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.8351, allocations: 15.86 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.8356, allocations: 145.2 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.8358, allocations: 167.6 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.836, allocations: 37.31 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.8361, allocations: 63.78 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.8362, allocations: 51.75 kB / 1.277 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.8362, allocations: 16 kB / 1.277 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.8363, allocations: 27.98 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.8363, allocations: 19.92 kB / 1.277 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.8364, allocations: 55.72 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.8366, allocations: 178 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8367, allocations: 3.938 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8367, allocations: 0 / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8367, allocations: 4 kB / 1.277 GB, free: 1.762 MB / 0.9669 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.0006031/0.8373, allocations: 432.7 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.8373, allocations: 8.031 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.8373, allocations: 12.89 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.8376, allocations: 220.2 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.8377, allocations: 8.375 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.8377, allocations: 8.375 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.8378, allocations: 96.62 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8379, allocations: 192 / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8379, allocations: 3.938 kB / 1.278 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.8379, allocations: 4 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.8379, allocations: 23.98 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/0.8385, allocations: 0.5361 MB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.8386, allocations: 34.5 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.8386, allocations: 16.92 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.8386, allocations: 0 / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.864e-05/0.8387, allocations: 59.39 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.8387, allocations: 4 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002196/0.839, allocations: 93.52 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.839, allocations: 55.39 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.8392, allocations: 171.3 kB / 1.279 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.8392, allocations: 29.7 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.8393, allocations: 112 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.8393, allocations: 3.953 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.8394, allocations: 33.7 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.8395, allocations: 326.8 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.8396, allocations: 35.98 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.8397, allocations: 58.55 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.8399, allocations: 88.22 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8399, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002901/0.8401, allocations: 179.2 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.8402, allocations: 37.7 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8402, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.8402, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.8403, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8403, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.8405, allocations: 31.86 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.8405, allocations: 7.984 kB / 1.279 GB, free: 14.78 MB / 0.9825 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.0001068/0.8406, allocations: 129.8 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.8406, allocations: 11.89 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.8406, allocations: 16.92 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.8406, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8406, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8407, allocations: 3.938 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.8408, allocations: 189.6 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8408, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.8408, allocations: 4 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.8408, allocations: 4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.8408, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8408, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8408, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.841, allocations: 101 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.841, allocations: 89.06 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.8411, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.8411, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.8411, allocations: 11.94 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.8411, allocations: 7.922 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001018/0.8412, allocations: 128 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8412, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002224/0.8414, allocations: 23.94 kB / 1.28 GB, free: 13.97 MB / 0.9825 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.0001428/0.8416, allocations: 99.78 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.8418, allocations: 119.4 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8418, allocations: 128 / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.8419, allocations: 23.92 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.8421, allocations: 21.77 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.8425, allocations: 198.3 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.8428, allocations: 0.7001 MB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.8428, allocations: 12.44 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.8428, allocations: 11.44 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8428, allocations: 3.938 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of Templates: time 0.004394/0.8472, allocations: 1.459 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.850563630927354]