Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.001616/0.001616, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001971/0.001971, allocations: 190 kB / 22.1 MB, free: 5.152 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.498/1.498, allocations: 225.6 MB / 250.8 MB, free: 13.07 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 3.317/3.317, allocations: 495.8 MB / 0.783 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] 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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 68.14 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4622, allocations: 173.6 MB / 1.307 GB, free: 1.914 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002359/0.4646, allocations: 0.7576 MB / 1.307 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.4665, allocations: 1.158 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.4666, allocations: 4 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.4668, allocations: 19.8 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.4668, allocations: 15.92 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.4674, allocations: 135.5 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.4676, allocations: 127.7 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.4677, allocations: 23.94 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.4678, allocations: 51.83 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4679, allocations: 35.83 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.4679, allocations: 12 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.225e-05/0.468, allocations: 20 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.4681, allocations: 11.92 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.4681, allocations: 51.78 kB / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.4684, allocations: 107.6 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4684, allocations: 0 / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4684, allocations: 0 / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4684, allocations: 0 / 1.309 GB, free: 15.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005703/0.4689, allocations: 335.7 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.469, allocations: 12.92 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.469, allocations: 12.84 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.4693, allocations: 151.5 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4693, allocations: 8.375 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4694, allocations: 4.375 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.4695, allocations: 68.81 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4695, allocations: 4.188 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.4695, allocations: 7.922 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4695, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.4696, allocations: 15.94 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.4701, allocations: 472.1 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/0.4702, allocations: 26.58 kB / 1.31 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.4702, allocations: 4.859 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.4702, allocations: 0 / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.4703, allocations: 71.34 kB / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.4703, allocations: 0 / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002308/0.4705, allocations: 69.62 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.4706, allocations: 51.41 kB / 1.31 GB, free: 13.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.4707, allocations: 152 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.4708, allocations: 37.58 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.4709, allocations: 96.12 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.4709, allocations: 7.953 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.4709, allocations: 29.7 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4711, allocations: 322.8 kB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.4712, allocations: 31.98 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.4713, allocations: 42.56 kB / 1.311 GB, free: 13.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.4714, allocations: 88.2 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4714, allocations: 4.062 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002788/0.4717, allocations: 151.2 kB / 1.311 GB, free: 12.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.4717, allocations: 33.69 kB / 1.311 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4717, allocations: 4 kB / 1.311 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4717, allocations: 0 / 1.311 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-05/0.4717, allocations: 0 / 1.311 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.4718, allocations: 11.88 kB / 1.311 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.472, allocations: 32.02 kB / 1.311 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.472, allocations: 4 kB / 1.311 GB, free: 12.82 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: 4 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001082/0.4721, allocations: 117.8 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.4721, allocations: 11.94 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.4721, allocations: 12.34 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.4722, allocations: 0 / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4722, allocations: 3.938 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4722, allocations: 0 / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.4723, allocations: 148.7 kB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4723, allocations: 4 kB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.4723, allocations: 0 / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4723, allocations: 4 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4723, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4723, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4723, allocations: 3.938 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.4725, allocations: 89.02 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.4725, allocations: 11.94 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4725, allocations: 4 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.4725, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.4725, allocations: 3.938 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.4725, allocations: 7.938 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.592e-05/0.4726, allocations: 113.7 kB / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4726, allocations: 0 / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002138/0.4728, allocations: 19.94 kB / 1.312 GB, free: 12.2 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: 3 ($whenCondition1,$whenCondition2,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001519/0.473, allocations: 104 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.4732, allocations: 111.3 kB / 1.312 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4732, allocations: 0 / 1.312 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.4733, allocations: 11.94 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4735, allocations: 13.03 kB / 1.312 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.4738, allocations: 167.1 kB / 1.312 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.4742, allocations: 0.6935 MB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.4742, allocations: 7.984 kB / 1.313 GB, free: 11.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.4743, allocations: 11.44 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.4743, allocations: 0 / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of Templates: time 0.00441/0.4787, allocations: 1.171 MB / 1.314 GB, free: 9.863 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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: 9.540125079452991]