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.001351/0.001351, allocations: 116.6 kB / 17.13 MB, free: 6.004 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.001467/0.001467, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.894/2.894, allocations: 0.49 GB / 0.7923 GB, free: 1.285 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.002041/0.002041, allocations: 75.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8837/0.8857, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 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.002015/0.8877, allocations: 0.8573 MB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.889, allocations: 1.214 MB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.8891, allocations: 2.906 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.8893, allocations: 26.45 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.8893, allocations: 25.94 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.8898, allocations: 142.3 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.8899, allocations: 164.5 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.89, allocations: 26.83 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.615e-05/0.8901, allocations: 64.12 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.8902, allocations: 52.86 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.8902, allocations: 13.97 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.729e-05/0.8903, allocations: 29.66 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.8903, allocations: 19.27 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.8904, allocations: 60.09 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.8906, allocations: 167.4 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8906, allocations: 0 / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8906, allocations: 0 / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.8906, allocations: 7.875 kB / 1.325 GB, free: 23.25 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.0004939/0.8911, allocations: 440.8 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8911, allocations: 14.2 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.8912, allocations: 16.41 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.8914, allocations: 223.7 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.8914, allocations: 6.719 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.8915, allocations: 12.39 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.8916, allocations: 85.94 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.8916, allocations: 192 / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.8916, allocations: 7.938 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.8916, allocations: 2.75 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.627e-05/0.8917, allocations: 26.55 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.8921, allocations: 0.5344 MB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.8921, allocations: 28.11 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.8922, allocations: 14.77 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.8922, allocations: 4 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.635e-05/0.8923, allocations: 60.91 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.8923, allocations: 0 / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001883/0.8924, allocations: 88.33 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.8925, allocations: 51.41 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.8926, allocations: 178.7 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.8926, allocations: 36.27 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.8927, allocations: 104.6 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-06/0.8927, allocations: 6.484 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.8927, allocations: 30.25 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.8928, allocations: 324.7 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.8928, allocations: 37.58 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.8929, allocations: 51.95 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.41e-05/0.893, allocations: 99.62 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.893, allocations: 2.812 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002247/0.8932, allocations: 168.7 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.8933, allocations: 41.27 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.8933, allocations: 0 / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.8933, allocations: 2.688 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.8933, allocations: 0 / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.8933, allocations: 2.75 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.8935, allocations: 34.52 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.8935, allocations: 5.406 kB / 1.327 GB, free: 20.87 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 6.326e-05/0.8936, allocations: 123.1 kB / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.8936, allocations: 13.31 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.8936, allocations: 15.06 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8936, allocations: 2.781 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.8936, allocations: 0 / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8936, allocations: 7.938 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.027e-05/0.8937, allocations: 190.9 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8937, allocations: 3.938 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.8937, allocations: 2.562 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8937, allocations: 0 / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.8937, allocations: 0 / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8938, allocations: 0 / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8938, allocations: 0 / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.8938, allocations: 101.4 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.8939, allocations: 103.5 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.8939, allocations: 0 / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.8939, allocations: 2.656 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.8939, allocations: 3.938 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.8939, allocations: 2.438 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.264e-05/0.894, allocations: 132.5 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.894, allocations: 0 / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002046/0.8942, allocations: 23.84 kB / 1.328 GB, free: 20.21 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.0001161/0.8943, allocations: 111.3 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.8945, allocations: 116.1 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8945, allocations: 0.875 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.8946, allocations: 20.11 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.8948, allocations: 20.67 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.8951, allocations: 221.7 kB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.8952, allocations: 0.7019 MB / 1.329 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.8953, allocations: 12.31 kB / 1.329 GB, free: 19.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.8953, allocations: 0 / 1.329 GB, free: 19.11 MB / 1.061 GB Notification: Performance of Templates: time 0.003667/0.8989, allocations: 1.458 MB / 1.331 GB, free: 18.97 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/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: 11.207375549987773]