Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001515/0.001515, allocations: 74.58 kB / 19.18 MB, free: 2.539 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.00162/0.00162, allocations: 168.7 kB / 22.46 MB, free: 5.348 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.896/2.896, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.343e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002022/0.002055, allocations: 0.8949 MB / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.003707, allocations: 1.201 MB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.003792, allocations: 4 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.00394, allocations: 27.72 kB / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.003999, allocations: 19.81 kB / 0.9835 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.004469, allocations: 149 kB / 0.9836 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.004702, allocations: 175.5 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004818, allocations: 25.56 kB / 0.9838 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.004932, allocations: 79.88 kB / 0.9839 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.005044, allocations: 43.81 kB / 0.984 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.005078, allocations: 20 kB / 0.984 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.005152, allocations: 31.92 kB / 0.984 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.005178, allocations: 11.94 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.00525, allocations: 43.89 kB / 0.9841 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.005514, allocations: 187.5 kB / 0.9842 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005516, allocations: 0 / 0.9842 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005517, allocations: 0 / 0.9842 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.00552, allocations: 0 / 0.9842 GB, free: 9.031 MB / 0.9356 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.000543/0.006064, allocations: 359.5 kB / 0.9846 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.006101, allocations: 8.031 kB / 0.9846 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.006157, allocations: 12.89 kB / 0.9846 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.006426, allocations: 169.5 kB / 0.9848 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.006449, allocations: 12.31 kB / 0.9848 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.006472, allocations: 4.375 kB / 0.9848 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.006615, allocations: 84.81 kB / 0.9849 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006623, allocations: 192 / 0.9849 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.006637, allocations: 8.359 kB / 0.9849 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.006641, allocations: 384 / 0.9849 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.544e-05/0.006706, allocations: 27.88 kB / 0.9849 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.007222, allocations: 464.6 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.007291, allocations: 30.56 kB / 0.9854 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.007322, allocations: 16.91 kB / 0.9854 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.007333, allocations: 0 / 0.9854 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.007449, allocations: 67.33 kB / 0.9854 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.00745, allocations: 0 / 0.9854 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002115/0.007661, allocations: 77.64 kB / 0.9855 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.007704, allocations: 51.41 kB / 0.9856 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.00786, allocations: 152.4 kB / 0.9857 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.007889, allocations: 33.7 kB / 0.9858 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.007979, allocations: 112 kB / 0.9859 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.007993, allocations: 7.938 kB / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.008067, allocations: 33.7 kB / 0.9859 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.008216, allocations: 326.8 kB / 0.9862 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.008332, allocations: 69.62 kB / 0.9863 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.008448, allocations: 88.25 kB / 0.9864 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.008578, allocations: 92.33 kB / 0.9864 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.00858, allocations: 0 / 0.9864 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003177/0.008897, allocations: 201 kB / 0.9866 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/0.008953, allocations: 43.88 kB / 0.9867 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008958, allocations: 0 / 0.9867 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.008971, allocations: 3.938 kB / 0.9867 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.294e-05/0.009024, allocations: 7.938 kB / 0.9867 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.009028, allocations: 3.938 kB / 0.9867 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.009223, allocations: 27.91 kB / 0.9867 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.009246, allocations: 7.984 kB / 0.9867 GB, free: 6.227 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.0001078/0.009354, allocations: 129.8 kB / 0.9869 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.009371, allocations: 11.91 kB / 0.9869 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.009402, allocations: 8.344 kB / 0.9869 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.009406, allocations: 3.984 kB / 0.9869 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.00941, allocations: 0 / 0.9869 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.009412, allocations: 0 / 0.9869 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.009543, allocations: 133.2 kB / 0.987 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.009544, allocations: 0 / 0.987 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.009561, allocations: 4 kB / 0.987 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.009563, allocations: 0 / 0.987 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.009573, allocations: 4 kB / 0.987 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009574, allocations: 4 kB / 0.987 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009575, allocations: 0 / 0.987 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.009717, allocations: 100.9 kB / 0.9871 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.009734, allocations: 7.953 kB / 0.9871 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.009754, allocations: 8 kB / 0.9871 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.009775, allocations: 0 / 0.9871 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.009802, allocations: 3.984 kB / 0.9871 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.009809, allocations: 4 kB / 0.9871 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001038/0.009913, allocations: 112.9 kB / 0.9872 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.009913, allocations: 0 / 0.9872 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000218/0.01013, allocations: 19.98 kB / 0.9873 GB, free: 5.625 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001622/0.01029, allocations: 111.2 kB / 0.9874 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.01055, allocations: 157.3 kB / 0.9875 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01055, allocations: 0 / 0.9875 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.01058, allocations: 16 kB / 0.9875 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01081, allocations: 20.11 kB / 0.9876 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.0112, allocations: 189.3 kB / 0.9877 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.011e-05/0.01128, allocations: 92.25 kB / 0.9878 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.0113, allocations: 4.734 kB / 0.9878 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.01133, allocations: 20.42 kB / 0.9878 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01133, allocations: 0 / 0.9878 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.004799/0.01613, allocations: 1.502 MB / 0.9893 GB, free: 3.484 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.126760382205248]