Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 198.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 68.92 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2981, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002269/0.3004, allocations: 0.9895 MB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3019, allocations: 1.166 MB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.302, allocations: 3.938 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.3022, allocations: 19.86 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.3022, allocations: 23.86 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.3027, allocations: 126.4 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.3029, allocations: 171.6 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.303, allocations: 37.39 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.3031, allocations: 63.77 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.3032, allocations: 43.83 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.3033, allocations: 19.94 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.3033, allocations: 27.98 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.3034, allocations: 15.94 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.3035, allocations: 55.77 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.3036, allocations: 132 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3036, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3037, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3037, allocations: 4 kB / 1.067 GB, free: 12.21 MB / 0.8419 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.0005698/0.3042, allocations: 436.7 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3043, allocations: 8.625 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.3043, allocations: 12.84 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.3046, allocations: 230 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3046, allocations: 4.375 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.3047, allocations: 8.375 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3048, allocations: 88.73 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3048, allocations: 192 / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3048, allocations: 7.875 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3049, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.722e-05/0.3049, allocations: 27.98 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.3055, allocations: 0.536 MB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.274e-05/0.3056, allocations: 30.56 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.3056, allocations: 16.86 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.3056, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.3058, allocations: 63.39 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3058, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002039/0.306, allocations: 77.59 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.306, allocations: 55.39 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3062, allocations: 187.1 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3063, allocations: 29.7 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.3064, allocations: 108 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.3064, allocations: 7.891 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.3065, allocations: 33.7 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3066, allocations: 322.8 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.3067, allocations: 35.98 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3068, allocations: 58.55 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.307, allocations: 96.16 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.307, allocations: 3.984 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003035/0.3073, allocations: 163.2 kB / 1.07 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.3073, allocations: 37.7 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3073, allocations: 0 / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3074, allocations: 0 / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.631e-05/0.3074, allocations: 4.062 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3074, allocations: 8.062 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.3076, allocations: 35.8 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3077, allocations: 4 kB / 1.07 GB, free: 9.227 MB / 0.8419 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.0001151/0.3078, allocations: 125.8 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.3078, allocations: 7.906 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3078, allocations: 16.92 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3079, allocations: 0 / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3079, allocations: 4 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3079, allocations: 7.938 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3081, allocations: 185.6 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3081, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.3081, allocations: 3.938 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3081, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3081, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3081, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3081, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.3083, allocations: 101.2 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.3084, allocations: 92.92 kB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3084, allocations: 48 / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.405e-05/0.3084, allocations: 3.984 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.3084, allocations: 7.922 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3085, allocations: 4 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001168/0.3086, allocations: 124.9 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3086, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002226/0.3088, allocations: 23.94 kB / 1.07 GB, free: 8.43 MB / 0.8419 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.0001506/0.309, allocations: 107.2 kB / 1.07 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3092, allocations: 139.3 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3092, allocations: 0 / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.3093, allocations: 19.88 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3095, allocations: 20.11 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.3099, allocations: 242.9 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3103, allocations: 0.7002 MB / 1.071 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.3103, allocations: 11.44 kB / 1.071 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3103, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of Templates: time 0.003362/0.3137, allocations: 1.436 MB / 1.073 GB, free: 5.695 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches