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.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.001669/0.001669, allocations: 106 kB / 18.84 MB, free: 3.023 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.002091/0.002091, allocations: 192 kB / 22.1 MB, free: 4.223 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.576/1.576, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.094/3.094, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002465/0.002465, allocations: 63.91 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196/1.199, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002172/1.201, allocations: 0.8595 MB / 1.308 GB, free: 33.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001384/1.202, allocations: 1.181 MB / 1.309 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/1.202, allocations: 10.5 kB / 1.309 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/1.203, allocations: 21.78 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/1.203, allocations: 25.8 kB / 1.309 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/1.203, allocations: 145.6 kB / 1.309 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001993/1.203, allocations: 171.3 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/1.203, allocations: 29 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/1.204, allocations: 60.19 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/1.204, allocations: 52.78 kB / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/1.204, allocations: 14.56 kB / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/1.204, allocations: 31.36 kB / 1.309 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/1.204, allocations: 18.2 kB / 1.309 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/1.204, allocations: 63.55 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/1.204, allocations: 165.3 kB / 1.31 GB, free: 31.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.204, allocations: 0 / 1.31 GB, free: 31.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.062e-06/1.204, allocations: 0 / 1.31 GB, free: 31.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.204, allocations: 0 / 1.31 GB, free: 31.93 MB / 1.061 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.0004945/1.205, allocations: 365.2 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.205, allocations: 8.531 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/1.205, allocations: 10.64 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/1.205, allocations: 171.8 kB / 1.31 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.205, allocations: 7.125 kB / 1.31 GB, free: 31.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/1.205, allocations: 9.125 kB / 1.31 GB, free: 31.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/1.205, allocations: 81.84 kB / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.205, allocations: 192 / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.205, allocations: 7.875 kB / 1.31 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.205, allocations: 6.844 kB / 1.31 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.745e-05/1.205, allocations: 27.12 kB / 1.31 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/1.206, allocations: 0.5081 MB / 1.311 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/1.206, allocations: 27.39 kB / 1.311 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/1.206, allocations: 15.52 kB / 1.311 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/1.206, allocations: 3.984 kB / 1.311 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/1.206, allocations: 72.17 kB / 1.311 GB, free: 30.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/1.206, allocations: 0 / 1.311 GB, free: 30.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002247/1.206, allocations: 82.22 kB / 1.311 GB, free: 30.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/1.206, allocations: 51.41 kB / 1.311 GB, free: 30.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/1.206, allocations: 170.2 kB / 1.311 GB, free: 30.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/1.206, allocations: 36.64 kB / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/1.206, allocations: 105.9 kB / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/1.206, allocations: 6.797 kB / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/1.206, allocations: 32.44 kB / 1.311 GB, free: 30.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/1.206, allocations: 321.1 kB / 1.312 GB, free: 30.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/1.206, allocations: 36.11 kB / 1.312 GB, free: 30.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/1.207, allocations: 58.34 kB / 1.312 GB, free: 29.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.745e-05/1.207, allocations: 91 kB / 1.312 GB, free: 29.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.207, allocations: 2.594 kB / 1.312 GB, free: 29.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002409/1.207, allocations: 172.7 kB / 1.312 GB, free: 29.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/1.207, allocations: 38.45 kB / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.207, allocations: 0 / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.207, allocations: 2.844 kB / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/1.207, allocations: 6.453 kB / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.207, allocations: 8 kB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/1.207, allocations: 32.8 kB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/1.207, allocations: 6.688 kB / 1.312 GB, free: 29.74 MB / 1.061 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.153e-05/1.207, allocations: 126.2 kB / 1.312 GB, free: 29.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/1.207, allocations: 13.89 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/1.207, allocations: 11.75 kB / 1.312 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.207, allocations: 0 / 1.312 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/1.207, allocations: 4 kB / 1.312 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.207, allocations: 3.938 kB / 1.312 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.406e-05/1.207, allocations: 168.7 kB / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.207, allocations: 0 / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/1.207, allocations: 3.031 kB / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.207, allocations: 0 / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/1.207, allocations: 0 / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.207, allocations: 0 / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.207, allocations: 0 / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.946e-05/1.208, allocations: 110.8 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/1.208, allocations: 6.953 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/1.208, allocations: 0 / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/1.208, allocations: 0 / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/1.208, allocations: 10.41 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/1.208, allocations: 0 / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.045e-05/1.208, allocations: 131.2 kB / 1.313 GB, free: 29.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.208, allocations: 0 / 1.313 GB, free: 29.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002123/1.208, allocations: 22 kB / 1.313 GB, free: 29.22 MB / 1.061 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.0001196/1.208, allocations: 107.1 kB / 1.313 GB, free: 29.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002107/1.208, allocations: 123.8 kB / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.208, allocations: 0 / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/1.208, allocations: 8.281 kB / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/1.209, allocations: 32.44 kB / 1.313 GB, free: 29.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/1.209, allocations: 187.7 kB / 1.313 GB, free: 28.87 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/1.209, allocations: 0.701 MB / 1.314 GB, free: 28.17 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.973e-05/1.209, allocations: 10.62 kB / 1.314 GB, free: 28.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/1.209, allocations: 17.48 kB / 1.314 GB, free: 28.15 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/1.209, allocations: 0 / 1.314 GB, free: 28.15 MB / 1.061 GB Notification: Performance of Templates: time 0.004149/1.213, allocations: 1.477 MB / 1.315 GB, free: 28.01 MB / 1.061 GB " [Timeout remaining time 299] 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: 10.067303118295968]