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.0007223/0.0007223, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008001/0.0008001, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.8729/0.8729, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.707/1.707, allocations: 377.9 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 3.938 kB / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.778e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.001526/0.001554, allocations: 0.8321 MB / 0.983 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002704, allocations: 1.201 MB / 0.9842 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.002771, allocations: 4 kB / 0.9842 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.002894, allocations: 23.73 kB / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.002935, allocations: 23.8 kB / 0.9842 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.003332, allocations: 137.7 kB / 0.9844 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.003514, allocations: 175.5 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.003621, allocations: 25.52 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.003708, allocations: 83.81 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.003791, allocations: 43.88 kB / 0.9847 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.003814, allocations: 16 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.003873, allocations: 31.92 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.003897, allocations: 15.92 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.003947, allocations: 39.91 kB / 0.9848 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.004155, allocations: 183.5 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004157, allocations: 0 / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.163e-06/0.004159, allocations: 0 / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004163, allocations: 0 / 0.9849 GB, free: 15.28 MB / 0.948 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.000416/0.004579, allocations: 367.5 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.004613, allocations: 8.031 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.004657, allocations: 16.89 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.004846, allocations: 165.5 kB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.004862, allocations: 8.375 kB / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.004879, allocations: 12.36 kB / 0.9855 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.004995, allocations: 84.69 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.005002, allocations: 192 / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.005013, allocations: 8.375 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005017, allocations: 384 / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.005067, allocations: 31.86 kB / 0.9856 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.005426, allocations: 460.7 kB / 0.9861 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/0.005477, allocations: 26.58 kB / 0.9861 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.005495, allocations: 12.92 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.005502, allocations: 0 / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.693e-05/0.005589, allocations: 71.27 kB / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.00559, allocations: 0 / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.005755, allocations: 77.62 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.005785, allocations: 55.41 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.005893, allocations: 159 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.005912, allocations: 37.7 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.005966, allocations: 104.1 kB / 0.9866 GB, free: 13.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.005978, allocations: 15.88 kB / 0.9866 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.006027, allocations: 33.7 kB / 0.9866 GB, free: 13.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.006107, allocations: 326.7 kB / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.00618, allocations: 69.69 kB / 0.987 GB, free: 12.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.006249, allocations: 92.19 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.006331, allocations: 88.27 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006333, allocations: 0 / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001901/0.006523, allocations: 205 kB / 0.9874 GB, free: 12.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.006553, allocations: 37.69 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006558, allocations: 4 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.006568, allocations: 0 / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/0.006618, allocations: 7.938 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.006622, allocations: 0 / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.006739, allocations: 23.97 kB / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.006751, allocations: 4.062 kB / 0.9874 GB, free: 12.47 MB / 0.948 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.899e-05/0.00682, allocations: 129.8 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.006831, allocations: 15.91 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.006857, allocations: 12.34 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006859, allocations: 0 / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.006862, allocations: 0 / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006865, allocations: 0 / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.007129, allocations: 137.2 kB / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.00713, allocations: 0 / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.007141, allocations: 0 / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.007142, allocations: 4 kB / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007148, allocations: 4 kB / 0.9877 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.00715, allocations: 0 / 0.9877 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.00715, allocations: 0 / 0.9877 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.992e-05/0.00724, allocations: 97.19 kB / 0.9878 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.007254, allocations: 15.97 kB / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.007265, allocations: 0 / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.00728, allocations: 3.938 kB / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.0073, allocations: 4 kB / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.007305, allocations: 4 kB / 0.9878 GB, free: 11.99 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.007358, allocations: 111.2 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007358, allocations: 0 / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000148/0.007506, allocations: 31.94 kB / 0.988 GB, free: 11.85 MB / 0.948 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.0001215/0.007628, allocations: 107.2 kB / 0.9881 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.0078, allocations: 153 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007801, allocations: 0 / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.007828, allocations: 19.98 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.008004, allocations: 23.92 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.008296, allocations: 211.1 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.008343, allocations: 84.31 kB / 0.9886 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.008361, allocations: 16.44 kB / 0.9886 GB, free: 11.17 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/0.008362, allocations: 0 / 0.9886 GB, free: 11.17 MB / 0.948 GB Notification: Performance of Templates: time 0.002109/0.01047, allocations: 1.434 MB / 0.99 GB, free: 9.75 MB / 0.948 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: 6.309979657642543]