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.0008361/0.0008361, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0008105/0.0008105, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.9045/0.9045, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.641/1.641, allocations: 359 MB / 0.6044 GB, free: 11.11 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.094e-06/2.094e-06, allocations: 0 / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.575e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.031 MB / 0.9011 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.001464/0.001489, allocations: 0.8243 MB / 0.9525 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002552, allocations: 1.198 MB / 0.9537 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.002621, allocations: 7.938 kB / 0.9537 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.002742, allocations: 23.8 kB / 0.9537 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.002781, allocations: 15.8 kB / 0.9537 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.003144, allocations: 150.5 kB / 0.9539 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.003315, allocations: 175.5 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.003419, allocations: 21.58 kB / 0.9541 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.003503, allocations: 87.86 kB / 0.9542 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.00358, allocations: 39.89 kB / 0.9542 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.003603, allocations: 16 kB / 0.9542 GB, free: 468 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.003664, allocations: 27.97 kB / 0.9542 GB, free: 440 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.003687, allocations: 15.94 kB / 0.9542 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.003737, allocations: 47.84 kB / 0.9543 GB, free: 376 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.003928, allocations: 179.5 kB / 0.9545 GB, free: 196 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.00393, allocations: 0 / 0.9545 GB, free: 196 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.382e-06/0.003931, allocations: 4 kB / 0.9545 GB, free: 192 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003935, allocations: 0 / 0.9545 GB, free: 192 kB / 0.9011 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.0004297/0.004365, allocations: 363.5 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.004399, allocations: 16.02 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.004444, allocations: 16.83 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.004638, allocations: 165.5 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.004653, allocations: 8.375 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.00467, allocations: 16.36 kB / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.004778, allocations: 76.81 kB / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004786, allocations: 4.188 kB / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.004795, allocations: 384 / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.0048, allocations: 384 / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.945e-05/0.004849, allocations: 35.86 kB / 0.9551 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.005198, allocations: 460.6 kB / 0.9556 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.00525, allocations: 30.56 kB / 0.9556 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.005267, allocations: 8.922 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.005277, allocations: 3.938 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.909e-05/0.005366, allocations: 71.33 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.005367, allocations: 0 / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001628/0.00553, allocations: 73.64 kB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.005566, allocations: 59.39 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.005666, allocations: 164.9 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.005682, allocations: 25.7 kB / 0.956 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.005734, allocations: 104.1 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.005742, allocations: 7.891 kB / 0.9561 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.005788, allocations: 41.69 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.005861, allocations: 322.8 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.005931, allocations: 65.69 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.005997, allocations: 92.25 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.75e-05/0.006074, allocations: 88.27 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006076, allocations: 4 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001807/0.006257, allocations: 200.9 kB / 0.9569 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.006286, allocations: 37.7 kB / 0.9569 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006292, allocations: 3.984 kB / 0.9569 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006303, allocations: 0 / 0.9569 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.483e-05/0.006348, allocations: 4 kB / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.006352, allocations: 3.938 kB / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.006462, allocations: 23.97 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.006474, allocations: 12.06 kB / 0.957 GB, free: 13.38 MB / 0.9167 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 7.102e-05/0.006545, allocations: 121.8 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.006556, allocations: 15.89 kB / 0.9571 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.006578, allocations: 12.34 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006581, allocations: 3.938 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.006584, allocations: 0 / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006587, allocations: 0 / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.419e-05/0.006661, allocations: 137.3 kB / 0.9572 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006662, allocations: 0 / 0.9572 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.006675, allocations: 11.98 kB / 0.9573 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006676, allocations: 4 kB / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.006682, allocations: 0 / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.006684, allocations: 3.938 kB / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.006684, allocations: 0 / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.585e-05/0.00677, allocations: 93.25 kB / 0.9573 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.006782, allocations: 11.98 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.006794, allocations: 3.984 kB / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.006807, allocations: 4 kB / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.006827, allocations: 0 / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.006831, allocations: 0 / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.006884, allocations: 126.4 kB / 0.9575 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006884, allocations: 4 kB / 0.9575 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001437/0.007028, allocations: 19.94 kB / 0.9575 GB, free: 12.75 MB / 0.9167 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.0003514/0.00738, allocations: 103.2 kB / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.007547, allocations: 153 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.007549, allocations: 0 / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.007574, allocations: 19.98 kB / 0.9578 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.007736, allocations: 24.05 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.008007, allocations: 214.8 kB / 0.958 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.008052, allocations: 84.31 kB / 0.9581 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.00807, allocations: 12.5 kB / 0.9581 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of SimCode: time 2.3e-07/0.00807, allocations: 0 / 0.9581 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of Templates: time 0.001991/0.01006, allocations: 1.438 MB / 0.9595 GB, free: 10.66 MB / 0.9167 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.337453484535217]