Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001496/0.001496, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001491/0.001491, allocations: 193.4 kB / 22.17 MB, free: 5.656 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.347/1.347, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 497.2 MB / 0.7845 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 70.64 kB / 1.139 GB, free: 33.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3022, allocations: 173.9 MB / 1.309 GB, free: 64 kB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.002312/0.3045, allocations: 0.9348 MB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.306, allocations: 1.178 MB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.3061, allocations: 4 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.3062, allocations: 31.66 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.3063, allocations: 23.86 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.3068, allocations: 147.4 kB / 1.312 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.307, allocations: 171.6 kB / 1.312 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3071, allocations: 25.33 kB / 1.312 GB, free: 13.53 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.3072, allocations: 63.78 kB / 1.312 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3073, allocations: 55.73 kB / 1.312 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3073, allocations: 12 kB / 1.312 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.756e-05/0.3074, allocations: 31.98 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.3074, allocations: 15.94 kB / 1.312 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.3075, allocations: 59.72 kB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3078, allocations: 171.4 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3078, allocations: 0 / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3078, allocations: 0 / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3078, allocations: 0 / 1.312 GB, free: 13.13 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.000569/0.3083, allocations: 444.6 kB / 1.313 GB, free: 12.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3084, allocations: 8.031 kB / 1.313 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.3084, allocations: 16.84 kB / 1.313 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.3087, allocations: 234.2 kB / 1.313 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3087, allocations: 4.375 kB / 1.313 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.3088, allocations: 4.375 kB / 1.313 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3089, allocations: 88.75 kB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3089, allocations: 192 / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3089, allocations: 3.938 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3089, allocations: 7.938 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.309, allocations: 31.98 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.3096, allocations: 0.5283 MB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.043e-05/0.3096, allocations: 34.56 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.3097, allocations: 8.859 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.3097, allocations: 8 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.3098, allocations: 63.39 kB / 1.314 GB, free: 11.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3098, allocations: 0 / 1.314 GB, free: 11.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.31, allocations: 77.58 kB / 1.314 GB, free: 11.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.31, allocations: 59.39 kB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3102, allocations: 172.9 kB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3102, allocations: 29.7 kB / 1.314 GB, free: 11.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.3103, allocations: 116 kB / 1.314 GB, free: 10.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.3103, allocations: 7.938 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.3104, allocations: 29.7 kB / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3105, allocations: 326.8 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.3106, allocations: 31.98 kB / 1.314 GB, free: 10.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.3107, allocations: 58.55 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.3108, allocations: 92.22 kB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3108, allocations: 0 / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002807/0.3111, allocations: 175.2 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.3111, allocations: 38.95 kB / 1.315 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3111, allocations: 0 / 1.315 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3112, allocations: 0 / 1.315 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.499e-05/0.3112, allocations: 4 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3112, allocations: 0 / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.3114, allocations: 31.97 kB / 1.315 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3114, allocations: 11.98 kB / 1.315 GB, free: 10.14 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 ($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.0001027/0.3115, allocations: 125.8 kB / 1.315 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.3115, allocations: 11.91 kB / 1.315 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.3116, allocations: 20.86 kB / 1.315 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3116, allocations: 0 / 1.315 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3116, allocations: 4 kB / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3116, allocations: 7.938 kB / 1.315 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3117, allocations: 185.6 kB / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3117, allocations: 0 / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.3117, allocations: 4 kB / 1.315 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.3118, allocations: 4 kB / 1.315 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3118, allocations: 4 kB / 1.315 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.3118, allocations: 0 / 1.315 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3118, allocations: 0 / 1.315 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.3119, allocations: 101.2 kB / 1.315 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.3119, allocations: 89.05 kB / 1.315 GB, free: 9.496 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.312, allocations: 4 kB / 1.315 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.312, allocations: 0 / 1.315 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.312, allocations: 11.88 kB / 1.315 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.312, allocations: 0 / 1.315 GB, free: 9.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001015/0.3121, allocations: 127.9 kB / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3121, allocations: 0 / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002114/0.3123, allocations: 27.89 kB / 1.315 GB, free: 9.328 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.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.0001297/0.3125, allocations: 103.2 kB / 1.316 GB, free: 9.219 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3127, allocations: 119.4 kB / 1.316 GB, free: 9.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3127, allocations: 0 / 1.316 GB, free: 9.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.3127, allocations: 19.92 kB / 1.316 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3129, allocations: 15.98 kB / 1.316 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.3133, allocations: 198.5 kB / 1.316 GB, free: 8.836 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3136, allocations: 0.704 MB / 1.317 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.3136, allocations: 8.422 kB / 1.317 GB, free: 8.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.3137, allocations: 11.44 kB / 1.317 GB, free: 8.086 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.3137, allocations: 4 kB / 1.317 GB, free: 8.082 MB / 1.014 GB Notification: Performance of Templates: time 0.004257/0.3179, allocations: 1.481 MB / 1.318 GB, free: 6.629 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.900967378169298]