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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 188.2 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.919/2.919, allocations: 496 MB / 0.7835 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00183/0.00183, allocations: 63.22 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3418, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.002158/0.344, allocations: 0.8741 MB / 1.308 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3454, allocations: 1.182 MB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.3455, allocations: 7.938 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.3456, allocations: 19.8 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.3457, allocations: 19.86 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.3462, allocations: 148.8 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.3464, allocations: 171.6 kB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3465, allocations: 29.52 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.3466, allocations: 63.78 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3467, allocations: 55.75 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.3467, allocations: 16 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.3468, allocations: 27.98 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.3468, allocations: 15.92 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.029e-05/0.3469, allocations: 55.73 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3472, allocations: 171.4 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3472, allocations: 0 / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3472, allocations: 0 / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3472, allocations: 4 kB / 1.31 GB, free: 14.96 MB / 1.014 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.0005343/0.3477, allocations: 363.5 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3477, allocations: 8.031 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.3478, allocations: 12.89 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.348, allocations: 167.3 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3481, allocations: 4.375 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.3481, allocations: 8.375 kB / 1.311 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3482, allocations: 88.75 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3482, allocations: 4.125 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3483, allocations: 11.88 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3483, allocations: 0 / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.3483, allocations: 27.92 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.3489, allocations: 0.5001 MB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.3489, allocations: 30.52 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.3489, allocations: 12.92 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.349, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.3491, allocations: 67.39 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3491, allocations: 4 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002087/0.3493, allocations: 89.52 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3493, allocations: 51.41 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3495, allocations: 168.6 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3495, allocations: 29.7 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.3496, allocations: 112.1 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.3496, allocations: 3.953 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.3497, allocations: 37.7 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3498, allocations: 322.8 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.3499, allocations: 35.98 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.35, allocations: 58.55 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3501, allocations: 92.2 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3501, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002707/0.3504, allocations: 167.2 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.3504, allocations: 37.7 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.3504, allocations: 240 / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3504, allocations: 4 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.3505, allocations: 3.984 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3505, allocations: 4 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.3507, allocations: 35.8 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.3507, allocations: 11.98 kB / 1.313 GB, free: 12.18 MB / 1.014 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.0001013/0.3508, allocations: 133.7 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.3508, allocations: 7.953 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.3509, allocations: 17.02 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3509, allocations: 0 / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3509, allocations: 0 / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3509, allocations: 3.938 kB / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.351, allocations: 156.7 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.351, allocations: 0 / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.351, allocations: 8 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.351, allocations: 7.938 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.351, allocations: 0 / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.351, allocations: 0 / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.351, allocations: 64 / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.3512, allocations: 105 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.3512, allocations: 7.953 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3512, allocations: 4 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.3512, allocations: 3.938 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.3513, allocations: 11.92 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3513, allocations: 4 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001132/0.3514, allocations: 128.9 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3514, allocations: 0 / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002103/0.3516, allocations: 20 kB / 1.313 GB, free: 11.5 MB / 1.014 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.0001451/0.3517, allocations: 104 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3519, allocations: 119.4 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3519, allocations: 8.062 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.352, allocations: 16 kB / 1.313 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.3522, allocations: 15.98 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.3526, allocations: 186.5 kB / 1.314 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3528, allocations: 0.704 MB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.3529, allocations: 12.41 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.3529, allocations: 11.44 kB / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3529, allocations: 0 / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of Templates: time 0.004324/0.3572, allocations: 1.483 MB / 1.316 GB, free: 8.797 MB / 1.014 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: 8.237266670912504]