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.001776/0.001776, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001946/0.001946, allocations: 212.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.326/3.326, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 61.5 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4037, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.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.002696/0.4064, allocations: 0.8374 MB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.4082, allocations: 1.19 MB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.4083, allocations: 7.938 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.4085, allocations: 19.8 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.247e-05/0.4086, allocations: 15.86 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.4091, allocations: 147 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.4094, allocations: 171.6 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.4095, allocations: 37.52 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4096, allocations: 63.77 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.4098, allocations: 47.77 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.4098, allocations: 16 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.4099, allocations: 23.98 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.4099, allocations: 15.94 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.41, allocations: 51.77 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.4103, allocations: 163.4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4103, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4103, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4103, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 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.0007033/0.411, allocations: 371.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.411, allocations: 12.03 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.4111, allocations: 12.84 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.4114, allocations: 159.4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4114, allocations: 4.375 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.4115, allocations: 12.38 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.4116, allocations: 88.69 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4116, allocations: 192 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4117, allocations: 7.938 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4117, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.4117, allocations: 35.91 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.4124, allocations: 460.7 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.778e-05/0.4124, allocations: 22.58 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.4125, allocations: 12.92 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.4125, allocations: 4 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.4126, allocations: 59.39 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.4126, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002313/0.4128, allocations: 93.52 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.4129, allocations: 51.41 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4131, allocations: 156.7 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.4131, allocations: 25.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.292e-05/0.4132, allocations: 112 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.4132, allocations: 11.95 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.4133, allocations: 37.58 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4135, allocations: 326.8 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.4136, allocations: 65.69 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.4137, allocations: 88.25 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.4138, allocations: 96.2 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4138, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003286/0.4142, allocations: 201 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.4142, allocations: 41.69 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4142, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4142, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.4143, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4143, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4145, allocations: 32.03 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.4145, allocations: 15.92 kB / 1.331 GB, free: 12.25 MB / 1.029 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.0002248/0.4148, allocations: 122.3 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.4148, allocations: 7.953 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.4148, allocations: 12.34 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4148, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4148, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4148, allocations: 3.984 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.415, allocations: 133.2 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.415, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.415, allocations: 8 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.415, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.415, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.415, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.415, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.4152, allocations: 108.9 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.4152, allocations: 3.953 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.4152, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.4152, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.4153, allocations: 7.984 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.4153, allocations: 4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001145/0.4154, allocations: 113.1 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4154, allocations: 0 / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002282/0.4156, allocations: 27.98 kB / 1.331 GB, free: 11.64 MB / 1.029 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.0001717/0.4158, allocations: 111.2 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.4161, allocations: 157.3 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4161, allocations: 7.938 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.4162, allocations: 16.08 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4164, allocations: 24.05 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.4169, allocations: 182.5 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.417, allocations: 85.11 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.4171, allocations: 4.672 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.4171, allocations: 11.44 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4171, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of Templates: time 0.004929/0.422, allocations: 1.567 MB / 1.333 GB, free: 9.449 MB / 1.029 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: 9.49562075547874]