Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001151/0.001151, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002054/0.003205, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001068/0.001068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002594, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.102/1.102, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.211, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.376/2.376, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2472/2.624, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.806e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.002285/0.002313, allocations: 0.9023 MB / 0.8198 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.00383, allocations: 1.224 MB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.003922, allocations: 0 / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.549e-05/0.004017, allocations: 31.72 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.004072, allocations: 23.8 kB / 0.821 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.004468, allocations: 139.6 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.004721, allocations: 175.6 kB / 0.8213 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.004826, allocations: 26.19 kB / 0.8214 GB, free: 15.96 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.004982, allocations: 95.78 kB / 0.8215 GB, free: 15.87 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.005085, allocations: 35.89 kB / 0.8215 GB, free: 15.83 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.005117, allocations: 19.94 kB / 0.8215 GB, free: 15.81 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.005209, allocations: 31.91 kB / 0.8215 GB, free: 15.78 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.005237, allocations: 11.94 kB / 0.8216 GB, free: 15.77 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.005287, allocations: 31.94 kB / 0.8216 GB, free: 15.74 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.005479, allocations: 103.7 kB / 0.8217 GB, free: 15.64 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.005491, allocations: 0 / 0.8217 GB, free: 15.64 MB / 0.8074 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005492, allocations: 0 / 0.8217 GB, free: 15.64 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.005502, allocations: 0 / 0.8217 GB, free: 15.64 MB / 0.8074 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.0005125/0.006014, allocations: 357.8 kB / 0.822 GB, free: 15.25 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.00605, allocations: 8.031 kB / 0.822 GB, free: 15.25 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.006096, allocations: 12.92 kB / 0.8221 GB, free: 15.23 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.006294, allocations: 149.6 kB / 0.8222 GB, free: 15.06 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.00631, allocations: 4.375 kB / 0.8222 GB, free: 15.06 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.006332, allocations: 16.38 kB / 0.8222 GB, free: 15.04 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.006441, allocations: 89.38 kB / 0.8223 GB, free: 14.94 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.006447, allocations: 4.125 kB / 0.8223 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.006454, allocations: 384 / 0.8223 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.006459, allocations: 4.375 kB / 0.8223 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.006488, allocations: 15.92 kB / 0.8223 GB, free: 14.91 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.006812, allocations: 360.6 kB / 0.8227 GB, free: 14.54 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 5.417e-05/0.006867, allocations: 30.52 kB / 0.8227 GB, free: 14.5 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.00688, allocations: 8.797 kB / 0.8227 GB, free: 14.49 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.006886, allocations: 8.062 kB / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.589e-05/0.006962, allocations: 59.38 kB / 0.8228 GB, free: 14.41 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.006963, allocations: 0 / 0.8228 GB, free: 14.41 MB / 0.8074 GB Notification: Performance of matching and sorting (n=4): time 0.0001073/0.007071, allocations: 57.61 kB / 0.8228 GB, free: 14.35 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.0071, allocations: 55.41 kB / 0.8229 GB, free: 14.28 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.00736, allocations: 157.2 kB / 0.823 GB, free: 14.12 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.007377, allocations: 25.7 kB / 0.8231 GB, free: 14.09 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.00742, allocations: 100.1 kB / 0.8231 GB, free: 13.98 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.00743, allocations: 7.938 kB / 0.8232 GB, free: 13.98 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.007471, allocations: 29.7 kB / 0.8232 GB, free: 13.94 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.007539, allocations: 330.8 kB / 0.8235 GB, free: 13.61 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.007601, allocations: 53.69 kB / 0.8235 GB, free: 13.55 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.637e-05/0.007647, allocations: 72.25 kB / 0.8236 GB, free: 13.46 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.986e-05/0.007717, allocations: 80.12 kB / 0.8237 GB, free: 13.37 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007719, allocations: 4.062 kB / 0.8237 GB, free: 13.37 MB / 0.8074 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001162/0.007835, allocations: 153.2 kB / 0.8238 GB, free: 13.2 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.00787, allocations: 41.69 kB / 0.8239 GB, free: 13.15 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.007874, allocations: 0 / 0.8239 GB, free: 13.15 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.007882, allocations: 4.062 kB / 0.8239 GB, free: 13.15 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-05/0.007924, allocations: 7.984 kB / 0.8239 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.007926, allocations: 0 / 0.8239 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.926e-05/0.008026, allocations: 27.88 kB / 0.8239 GB, free: 13.11 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.008038, allocations: 11.98 kB / 0.8239 GB, free: 13.1 MB / 0.8074 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 5.826e-05/0.008097, allocations: 121.7 kB / 0.824 GB, free: 12.97 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-06/0.008107, allocations: 11.92 kB / 0.8241 GB, free: 12.96 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.00813, allocations: 12.34 kB / 0.8241 GB, free: 12.94 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.008132, allocations: 0 / 0.8241 GB, free: 12.94 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.008134, allocations: 4 kB / 0.8241 GB, free: 12.94 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008137, allocations: 0 / 0.8241 GB, free: 12.94 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.341e-05/0.0082, allocations: 77.88 kB / 0.8242 GB, free: 12.84 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008201, allocations: 0 / 0.8242 GB, free: 12.84 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.008212, allocations: 7.984 kB / 0.8242 GB, free: 12.84 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.008222, allocations: 11.89 kB / 0.8242 GB, free: 12.82 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.008223, allocations: 0 / 0.8242 GB, free: 12.82 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.008226, allocations: 0 / 0.8242 GB, free: 12.82 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008227, allocations: 0 / 0.8242 GB, free: 12.82 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008228, allocations: 0 / 0.8242 GB, free: 12.82 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.514e-05/0.008293, allocations: 77.05 kB / 0.8242 GB, free: 12.73 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.008303, allocations: 11.94 kB / 0.8243 GB, free: 12.72 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/0.008317, allocations: 0 / 0.8243 GB, free: 12.72 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.008334, allocations: 0 / 0.8243 GB, free: 12.72 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.008337, allocations: 3.984 kB / 0.8243 GB, free: 12.71 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 2.791e-05/0.008365, allocations: 38.66 kB / 0.8243 GB, free: 12.68 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.008365, allocations: 0 / 0.8243 GB, free: 12.68 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001168/0.008482, allocations: 16 kB / 0.8243 GB, free: 12.66 MB / 0.8074 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.0001447/0.008627, allocations: 92.33 kB / 0.8244 GB, free: 12.56 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.008752, allocations: 138 kB / 0.8245 GB, free: 12.41 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.008756, allocations: 8.188 kB / 0.8245 GB, free: 12.4 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.008774, allocations: 12.86 kB / 0.8245 GB, free: 12.38 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.008924, allocations: 141 kB / 0.8247 GB, free: 12.22 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.009337, allocations: 188 kB / 0.8249 GB, free: 12.02 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.009368, allocations: 63.34 kB / 0.8249 GB, free: 11.93 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 2.527e-05/0.009393, allocations: 8.719 kB / 0.8249 GB, free: 11.92 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.009467, allocations: 75.34 kB / 0.825 GB, free: 11.85 MB / 0.8074 GB Notification: Performance of SimCode: time 7.22e-07/0.009467, allocations: 0 / 0.825 GB, free: 11.85 MB / 0.8074 GB Notification: Performance of Templates: time 0.003311/0.01278, allocations: 1.687 MB / 0.8267 GB, free: 10.21 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.184165080077946]