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.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.002556/0.002556, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002881/0.002881, allocations: 157.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.918/2.918, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.914e-06/1.914e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.298e-05, allocations: 7.375 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.002252/0.002285, allocations: 0.8577 MB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.004284, allocations: 1.197 MB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004387, allocations: 9 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.004542, allocations: 19.8 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.004604, allocations: 25.36 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.005102, allocations: 143.6 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.00538, allocations: 167.6 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.005499, allocations: 26.98 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.005639, allocations: 87.8 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005748, allocations: 39.88 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.005787, allocations: 16 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.005864, allocations: 28.8 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.00589, allocations: 11.94 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.005968, allocations: 44.8 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.00626, allocations: 191.4 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006262, allocations: 0 / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006262, allocations: 2.406 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.006267, allocations: 0 / 0.7891 GB, free: 9.977 MB / 0.7448 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.0006583/0.006925, allocations: 469.5 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.006964, allocations: 8.031 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.007031, allocations: 12.89 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.007325, allocations: 170.2 kB / 0.7898 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.007346, allocations: 8.375 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.007373, allocations: 12.36 kB / 0.7898 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.007545, allocations: 93.25 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.007555, allocations: 0.7812 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.007568, allocations: 6.016 kB / 0.7899 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.007572, allocations: 384 / 0.7899 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.007648, allocations: 31.88 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.008342, allocations: 0.6107 MB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.008426, allocations: 35.56 kB / 0.7905 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.008461, allocations: 20.3 kB / 0.7906 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.008472, allocations: 0.8125 kB / 0.7906 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.008602, allocations: 73.05 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.008603, allocations: 1.156 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002403/0.008843, allocations: 81.77 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.00889, allocations: 51.41 kB / 0.7908 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.009127, allocations: 243.7 kB / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.009153, allocations: 25.7 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.009285, allocations: 162.8 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.009303, allocations: 7.938 kB / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.00939, allocations: 45.11 kB / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002799/0.00967, allocations: 0.504 MB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.009801, allocations: 73.69 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.009946, allocations: 104.7 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.0101, allocations: 109.9 kB / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01011, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003775/0.01048, allocations: 218 kB / 0.7922 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.01053, allocations: 37.69 kB / 0.7922 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01054, allocations: 5.922 kB / 0.7922 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01056, allocations: 4 kB / 0.7923 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.01061, allocations: 0 / 0.7923 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.01062, allocations: 7.938 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.01079, allocations: 26.53 kB / 0.7923 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.01081, allocations: 7.984 kB / 0.7923 GB, free: 6.473 MB / 0.7448 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.0001418/0.01095, allocations: 172.5 kB / 0.7925 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.01097, allocations: 7.953 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.011, allocations: 12.34 kB / 0.7925 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01101, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.01101, allocations: 4.438 kB / 0.7925 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01101, allocations: 4.703 kB / 0.7925 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01119, allocations: 156.5 kB / 0.7926 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01119, allocations: 4.531 kB / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.01121, allocations: 0.8438 kB / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01121, allocations: 0 / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.01122, allocations: 0 / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.01122, allocations: 4.844 kB / 0.7926 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01122, allocations: 0 / 0.7926 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01139, allocations: 117.5 kB / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.01141, allocations: 3.953 kB / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.01142, allocations: 0 / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.01145, allocations: 8 kB / 0.7928 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.01148, allocations: 8.828 kB / 0.7928 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.01148, allocations: 0 / 0.7928 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001297/0.01161, allocations: 160.4 kB / 0.7929 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01161, allocations: 0 / 0.7929 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002213/0.01184, allocations: 31.88 kB / 0.793 GB, free: 5.723 MB / 0.7448 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.0001689/0.01201, allocations: 100.6 kB / 0.7931 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.01232, allocations: 190.2 kB / 0.7932 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01232, allocations: 0 / 0.7932 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.01238, allocations: 23.69 kB / 0.7933 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.01262, allocations: 26.77 kB / 0.7933 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.01304, allocations: 197.9 kB / 0.7935 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.723e-05/0.01313, allocations: 81.03 kB / 0.7935 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.01316, allocations: 9.938 kB / 0.7936 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.01319, allocations: 12.5 kB / 0.7936 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01319, allocations: 0 / 0.7936 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.00519/0.01838, allocations: 1.534 MB / 0.7951 GB, free: 3.551 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] 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: 8.021305668982677]