Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001518/0.001518, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.001612/0.001612, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.495/1.495, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.953/2.953, allocations: 377.8 MB / 0.6232 GB, free: 8.484 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.532e-05, allocations: 3.25 kB / 0.8108 GB, free: 0.957 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.003521/0.003557, allocations: 0.834 MB / 0.8116 GB, free: 148 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003064/0.00662, allocations: 1.21 MB / 0.8128 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.006746, allocations: 4 kB / 0.8128 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.006961, allocations: 25.03 kB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.899e-05/0.00706, allocations: 15.88 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.007839, allocations: 141.1 kB / 0.813 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.008233, allocations: 175.5 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.008418, allocations: 37.42 kB / 0.8132 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.008643, allocations: 87.8 kB / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.008826, allocations: 40.89 kB / 0.8133 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.008886, allocations: 16 kB / 0.8133 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.00901, allocations: 35.91 kB / 0.8133 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.009049, allocations: 12.56 kB / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.009164, allocations: 41.31 kB / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.009609, allocations: 187.5 kB / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.009614, allocations: 0 / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009615, allocations: 0 / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.009629, allocations: 5.094 kB / 0.8136 GB, free: 14.12 MB / 0.7292 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.0008689/0.0105, allocations: 355.6 kB / 0.8139 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.01055, allocations: 8.031 kB / 0.8139 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.01067, allocations: 21.58 kB / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.01111, allocations: 167.6 kB / 0.8141 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.01115, allocations: 9.031 kB / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.0112, allocations: 12.36 kB / 0.8141 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.01144, allocations: 81.7 kB / 0.8142 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01145, allocations: 192 / 0.8142 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.01147, allocations: 5.609 kB / 0.8142 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.01147, allocations: 384 / 0.8142 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.01158, allocations: 31.88 kB / 0.8142 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.01248, allocations: 462.6 kB / 0.8147 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.0126, allocations: 26.58 kB / 0.8147 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.01267, allocations: 16.91 kB / 0.8147 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.01269, allocations: 3.938 kB / 0.8147 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.01288, allocations: 60.45 kB / 0.8148 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.01288, allocations: 0 / 0.8148 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0003887/0.01327, allocations: 81.83 kB / 0.8148 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.01334, allocations: 56.38 kB / 0.8149 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.01364, allocations: 160.9 kB / 0.8151 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.01369, allocations: 29.7 kB / 0.8151 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.01384, allocations: 112.8 kB / 0.8152 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.01386, allocations: 7.891 kB / 0.8152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.014, allocations: 38.38 kB / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0006788/0.01468, allocations: 319.3 kB / 0.8155 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.01488, allocations: 73.67 kB / 0.8156 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.01509, allocations: 85.39 kB / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.01536, allocations: 96.73 kB / 0.8158 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01536, allocations: 0 / 0.8158 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006144/0.01597, allocations: 210.2 kB / 0.816 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.01604, allocations: 39.73 kB / 0.816 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.01605, allocations: 1.094 kB / 0.816 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.01607, allocations: 0 / 0.816 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.01614, allocations: 7.984 kB / 0.816 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.01615, allocations: 0.9062 kB / 0.816 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.01651, allocations: 29.67 kB / 0.8161 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.01654, allocations: 4 kB / 0.8161 GB, free: 11.32 MB / 0.7292 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.0001908/0.01673, allocations: 125.8 kB / 0.8162 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.01676, allocations: 7.953 kB / 0.8162 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.01682, allocations: 17.86 kB / 0.8162 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01682, allocations: 0 / 0.8162 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.01683, allocations: 4.062 kB / 0.8162 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01684, allocations: 0 / 0.8162 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.01705, allocations: 130 kB / 0.8163 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01705, allocations: 0 / 0.8163 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.0171, allocations: 15.38 kB / 0.8163 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.0171, allocations: 0 / 0.8163 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.01712, allocations: 3.984 kB / 0.8164 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01712, allocations: 0 / 0.8164 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01712, allocations: 0 / 0.8164 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.01735, allocations: 93.02 kB / 0.8164 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.01738, allocations: 15.89 kB / 0.8165 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01741, allocations: 3.984 kB / 0.8165 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/0.01744, allocations: 0 / 0.8165 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.01748, allocations: 4.625 kB / 0.8165 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.01749, allocations: 0 / 0.8165 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001596/0.01765, allocations: 122.7 kB / 0.8166 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01765, allocations: 1.531 kB / 0.8166 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004365/0.01808, allocations: 27.89 kB / 0.8166 GB, free: 10.7 MB / 0.7292 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.0002217/0.01831, allocations: 111.2 kB / 0.8167 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.01869, allocations: 150.4 kB / 0.8169 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01869, allocations: 0 / 0.8169 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.01874, allocations: 15.94 kB / 0.8169 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.01913, allocations: 23.55 kB / 0.8169 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.01966, allocations: 180.4 kB / 0.8171 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.01977, allocations: 82.7 kB / 0.8171 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.01981, allocations: 8.719 kB / 0.8172 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.01984, allocations: 13.84 kB / 0.8172 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/0.01984, allocations: 0 / 0.8172 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.006538/0.02638, allocations: 1.532 MB / 0.8187 GB, free: 8.609 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.854039138066582]