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.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.00119/0.00119, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00132/0.00132, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.312/1.312, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.922/2.922, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.94 kB / 1.178 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2937, allocations: 180.2 MB / 1.354 GB, free: 8.059 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.002134/0.2958, allocations: 0.9464 MB / 1.355 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2973, allocations: 1.202 MB / 1.356 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.2974, allocations: 7.938 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.2975, allocations: 23.8 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.291e-05/0.2976, allocations: 23.78 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.298, allocations: 146.5 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.2983, allocations: 175.6 kB / 1.357 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2984, allocations: 33.5 kB / 1.357 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.2984, allocations: 59.84 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2986, allocations: 55.8 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.2986, allocations: 15.94 kB / 1.357 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.416e-05/0.2986, allocations: 27.94 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2987, allocations: 23.86 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.2987, allocations: 51.8 kB / 1.357 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.299, allocations: 175.4 kB / 1.357 GB, free: 5.094 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.299, allocations: 0 / 1.357 GB, free: 5.094 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.92e-07/0.299, allocations: 0 / 1.357 GB, free: 5.094 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.299, allocations: 0 / 1.357 GB, free: 5.094 MB / 1.045 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.0005177/0.2995, allocations: 367.5 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2995, allocations: 8.031 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.2996, allocations: 16.89 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.2998, allocations: 167.5 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2999, allocations: 8.375 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.2999, allocations: 4.375 kB / 1.358 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3, allocations: 84.81 kB / 1.358 GB, free: 4.375 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3, allocations: 192 / 1.358 GB, free: 4.375 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3, allocations: 11.88 kB / 1.358 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3, allocations: 4 kB / 1.358 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.3001, allocations: 23.98 kB / 1.358 GB, free: 4.336 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.3006, allocations: 0.5 MB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.198e-05/0.3007, allocations: 22.58 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.3007, allocations: 20.86 kB / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.3007, allocations: 0 / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.962e-05/0.3008, allocations: 67.39 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3008, allocations: 0 / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002027/0.301, allocations: 81.58 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3011, allocations: 51.41 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3012, allocations: 176.3 kB / 1.359 GB, free: 3.316 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3013, allocations: 33.7 kB / 1.359 GB, free: 3.277 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.3014, allocations: 108.1 kB / 1.359 GB, free: 3.168 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.3014, allocations: 19.83 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.3014, allocations: 29.7 kB / 1.359 GB, free: 3.113 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3016, allocations: 322.8 kB / 1.359 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.3016, allocations: 35.98 kB / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.3017, allocations: 58.55 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3019, allocations: 96.2 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3019, allocations: 4.062 kB / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000271/0.3021, allocations: 167.2 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.3022, allocations: 37.7 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3022, allocations: 0 / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3022, allocations: 0 / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.3022, allocations: 12.05 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3022, allocations: 0 / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.3024, allocations: 35.8 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3024, allocations: 4 kB / 1.359 GB, free: 2.305 MB / 1.045 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 9.94e-05/0.3025, allocations: 125.8 kB / 1.36 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3026, allocations: 7.953 kB / 1.36 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.3026, allocations: 13.02 kB / 1.36 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.3026, allocations: 4 kB / 1.36 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3026, allocations: 0 / 1.36 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3026, allocations: 3.938 kB / 1.36 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.3027, allocations: 164.7 kB / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3027, allocations: 0 / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.3028, allocations: 3.938 kB / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3028, allocations: 0 / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3028, allocations: 4 kB / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3028, allocations: 0 / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3028, allocations: 240 / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.3029, allocations: 105 kB / 1.36 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.3029, allocations: 11.91 kB / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3029, allocations: 4 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.3029, allocations: 0 / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.303, allocations: 7.922 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.303, allocations: 4 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001036/0.3031, allocations: 124 kB / 1.36 GB, free: 1.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3031, allocations: 0 / 1.36 GB, free: 1.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000205/0.3033, allocations: 27.88 kB / 1.36 GB, free: 1.633 MB / 1.045 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.0001253/0.3034, allocations: 103.2 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3036, allocations: 123.3 kB / 1.36 GB, free: 1.387 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3036, allocations: 0 / 1.36 GB, free: 1.387 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.3037, allocations: 16 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.3039, allocations: 25.8 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.3043, allocations: 218 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3046, allocations: 0.704 MB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.3046, allocations: 15.38 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3046, allocations: 0 / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of Templates: time 0.003117/0.3077, allocations: 1.452 MB / 1.363 GB, free: 14.91 MB / 1.061 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 -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/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: 9.946587228012504]