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.001768/0.001768, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002229/0.002229, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.361/3.361, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002056/0.002056, allocations: 71.98 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4025, allocations: 176.1 MB / 1.327 GB, free: 1.004 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.002857/0.4053, allocations: 0.8315 MB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.4071, allocations: 1.19 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.4072, allocations: 7.938 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.4074, allocations: 23.78 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.4075, allocations: 19.8 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.408, allocations: 146.9 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.4083, allocations: 167.6 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.4084, allocations: 37.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.4085, allocations: 59.84 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.4086, allocations: 55.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.4086, allocations: 16 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.4087, allocations: 23.98 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.4087, allocations: 23.86 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.4088, allocations: 47.78 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.409, allocations: 171.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.409, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.409, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.409, allocations: 4 kB / 1.33 GB, free: 14.18 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.000566/0.4096, allocations: 365.2 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4096, allocations: 12.03 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.4097, allocations: 12.84 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.41, allocations: 168.3 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.41, allocations: 4.375 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.41, allocations: 16.38 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.4102, allocations: 80.81 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.4102, allocations: 192 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4102, allocations: 7.875 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4102, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.4103, allocations: 35.92 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.4108, allocations: 456.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.491e-05/0.4109, allocations: 22.58 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.4109, allocations: 12.92 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.4109, allocations: 8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.411, allocations: 67.31 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.411, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000211/0.4112, allocations: 81.59 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.4113, allocations: 51.41 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.4114, allocations: 155.9 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.4114, allocations: 25.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.4115, allocations: 112 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.4116, allocations: 11.95 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.4116, allocations: 29.7 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4118, allocations: 326.8 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4119, allocations: 73.67 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.412, allocations: 88.2 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.4122, allocations: 88.27 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4122, allocations: 3.938 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003068/0.4125, allocations: 208.9 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.4125, allocations: 39.42 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.4125, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4125, allocations: 3.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.4126, allocations: 12 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4126, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.4128, allocations: 27.91 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.4128, allocations: 11.92 kB / 1.332 GB, free: 11.36 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.000119/0.4129, allocations: 118.4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.4129, allocations: 8.188 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.413, allocations: 20.31 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.413, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.413, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.413, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.4131, allocations: 133.2 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4131, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.4132, allocations: 4.062 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4132, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4132, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4132, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4132, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4133, allocations: 108.9 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.4133, allocations: 3.953 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4134, allocations: 8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.4134, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.4134, allocations: 7.984 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4134, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.273e-05/0.4135, allocations: 113.1 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4135, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002232/0.4137, allocations: 24 kB / 1.333 GB, free: 10.75 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.0001541/0.4139, allocations: 99.19 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.4141, allocations: 157.1 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4141, allocations: 8.062 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.4142, allocations: 12 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.4144, allocations: 29.11 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.4148, allocations: 182.5 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.4149, allocations: 88.81 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.4149, allocations: 12.66 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.415, allocations: 11.44 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.415, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of Templates: time 0.004687/0.4196, allocations: 1.585 MB / 1.335 GB, free: 8.551 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 -s cvode -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/jenkins1/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.402934637008002]