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.001617/0.001617, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001617/0.001617, allocations: 186 kB / 20.78 MB, free: 1.547 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.568/1.568, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.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.82/2.82, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 176] 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.001922/0.001922, allocations: 71.89 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.153, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 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.002668/1.155, allocations: 0.8728 MB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002169/1.157, allocations: 1.178 MB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/1.158, allocations: 2.906 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/1.158, allocations: 31.41 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/1.158, allocations: 16.94 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/1.158, allocations: 148.9 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/1.159, allocations: 167.9 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/1.159, allocations: 26.97 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/1.159, allocations: 61.88 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/1.159, allocations: 53.41 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/1.159, allocations: 14.56 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/1.159, allocations: 30.97 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/1.159, allocations: 19.38 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/1.159, allocations: 61.95 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/1.16, allocations: 164.3 kB / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.16, allocations: 0 / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/1.16, allocations: 3.938 kB / 1.275 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.317e-05/1.16, allocations: 0.7812 kB / 1.275 GB, free: 6.125 MB / 0.9981 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.0006408/1.16, allocations: 445.7 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.16, allocations: 9.812 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/1.161, allocations: 12.2 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/1.161, allocations: 223.6 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/1.161, allocations: 5.953 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/1.161, allocations: 7.156 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/1.161, allocations: 90.81 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.161, allocations: 192 / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.161, allocations: 4.656 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.161, allocations: 6.094 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/1.161, allocations: 25.58 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/1.162, allocations: 0.5296 MB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.72e-05/1.162, allocations: 37.33 kB / 1.276 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/1.162, allocations: 19.92 kB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/1.162, allocations: 0 / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/1.162, allocations: 67.03 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/1.162, allocations: 0 / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002785/1.162, allocations: 85.5 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.162, allocations: 52.69 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/1.163, allocations: 177.1 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/1.163, allocations: 36.14 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/1.163, allocations: 105.5 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/1.163, allocations: 7.703 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/1.163, allocations: 34.08 kB / 1.277 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/1.163, allocations: 320.9 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/1.163, allocations: 34.52 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/1.163, allocations: 56.52 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/1.163, allocations: 95.23 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.163, allocations: 1.641 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003099/1.163, allocations: 165.2 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/1.164, allocations: 38.23 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.164, allocations: 1.531 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.164, allocations: 4.875 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/1.164, allocations: 7.406 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.164, allocations: 6.078 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/1.164, allocations: 32.45 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/1.164, allocations: 10.86 kB / 1.277 GB, free: 3.73 MB / 0.9981 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 8.302e-05/1.164, allocations: 117.8 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/1.164, allocations: 8.766 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/1.164, allocations: 14.28 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.164, allocations: 0 / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.164, allocations: 4.969 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.164, allocations: 3.938 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/1.164, allocations: 189.7 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.164, allocations: 0 / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/1.164, allocations: 8.453 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/1.164, allocations: 0 / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/1.164, allocations: 1.562 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.164, allocations: 0 / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.164, allocations: 0.8125 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/1.164, allocations: 99.28 kB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/1.164, allocations: 92.5 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/1.164, allocations: 2.812 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/1.164, allocations: 1.188 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/1.164, allocations: 6.203 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.164, allocations: 2.188 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.236e-05/1.164, allocations: 125.9 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.164, allocations: 0 / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002344/1.165, allocations: 22.59 kB / 1.278 GB, free: 3.09 MB / 0.9981 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.0001477/1.165, allocations: 115 kB / 1.278 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002417/1.165, allocations: 120.5 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.165, allocations: 0 / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/1.165, allocations: 17.59 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/1.165, allocations: 17.31 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/1.166, allocations: 198.8 kB / 1.278 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/1.166, allocations: 0.7025 MB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.251e-05/1.166, allocations: 6.094 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/1.166, allocations: 16.09 kB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.166, allocations: 0 / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of Templates: time 0.005508/1.172, allocations: 1.481 MB / 1.281 GB, free: 1.863 MB / 0.9981 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 -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: 9.477326901629567]