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) 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 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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.01639/0.01639, allocations: 94.77 kB / 15.73 MB, free: 6.039 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.002602/0.002602, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.6 MB / 0.7453 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 59.91 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3835, allocations: 159.9 MB / 1.226 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002927/0.3865, allocations: 0.9385 MB / 1.227 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3888, allocations: 1.17 MB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.389, allocations: 7.938 kB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.3892, allocations: 19.8 kB / 1.228 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.3893, allocations: 19.84 kB / 1.228 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.39, allocations: 142.6 kB / 1.228 GB, free: 6.828 MB / 0.9825 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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0003658/0.3904, allocations: 181.5 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3906, allocations: 53.31 kB / 1.228 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.3908, allocations: 55.78 kB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.391, allocations: 47.83 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.391, allocations: 19.94 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3912, allocations: 27.98 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.3912, allocations: 19.91 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3913, allocations: 47.8 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.3917, allocations: 183.2 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3917, allocations: 4 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3917, allocations: 0 / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3917, allocations: 0 / 1.228 GB, free: 6.199 MB / 0.9825 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.0008684/0.3926, allocations: 436.7 kB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001347/0.3927, allocations: 8.031 kB / 1.229 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.3928, allocations: 12.89 kB / 1.229 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.3934, allocations: 227 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.3934, allocations: 8.375 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.3935, allocations: 12.38 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3937, allocations: 84.75 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3937, allocations: 192 / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.3937, allocations: 3.938 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3937, allocations: 4 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.3938, allocations: 27.88 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.3946, allocations: 0.54 MB / 1.23 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/0.3947, allocations: 34.5 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.3947, allocations: 12.92 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.3947, allocations: 0 / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.3949, allocations: 71.38 kB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.3949, allocations: 0 / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002624/0.3951, allocations: 85.53 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3952, allocations: 51.41 kB / 1.23 GB, free: 4.395 MB / 0.9825 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.3954, allocations: 177.9 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.3954, allocations: 29.7 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.3955, allocations: 100.1 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.3956, allocations: 19.88 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.3957, allocations: 33.7 kB / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3958, allocations: 318.8 kB / 1.231 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.3959, allocations: 35.98 kB / 1.231 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3961, allocations: 54.56 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.3963, allocations: 96.2 kB / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3963, allocations: 0 / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002913/0.3966, allocations: 163.2 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.3967, allocations: 41.69 kB / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3967, allocations: 0 / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3967, allocations: 0 / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.3968, allocations: 4 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3968, allocations: 0 / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.397, allocations: 35.86 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.397, allocations: 16 kB / 1.231 GB, free: 3.215 MB / 0.9825 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.000166/0.3972, allocations: 122.3 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.3972, allocations: 11.95 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.3973, allocations: 8.938 kB / 1.231 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3973, allocations: 4 kB / 1.231 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3973, allocations: 0 / 1.231 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3973, allocations: 3.938 kB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.3975, allocations: 189.6 kB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3975, allocations: 4 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.3975, allocations: 4 kB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3975, allocations: 4 kB / 1.231 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.3976, allocations: 3.984 kB / 1.231 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3976, allocations: 4.062 kB / 1.231 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3976, allocations: 3.938 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.3977, allocations: 92.97 kB / 1.232 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.3978, allocations: 89.06 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3978, allocations: 3.984 kB / 1.232 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.3978, allocations: 4 kB / 1.232 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3979, allocations: 11.88 kB / 1.232 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3979, allocations: 0 / 1.232 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001114/0.398, allocations: 128.2 kB / 1.232 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.593e-06/0.398, allocations: 4 kB / 1.232 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.3982, allocations: 19.94 kB / 1.232 GB, free: 2.41 MB / 0.9825 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.0001817/0.3984, allocations: 103.2 kB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.3987, allocations: 139.7 kB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3987, allocations: 0 / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.3988, allocations: 19.92 kB / 1.232 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.399, allocations: 16.09 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.3996, allocations: 206.3 kB / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3999, allocations: 0.7003 MB / 1.233 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.812e-05/0.4, allocations: 8.422 kB / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.4, allocations: 11.44 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.4, allocations: 0 / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of Templates: time 0.004776/0.4048, allocations: 1.467 MB / 1.234 GB, free: 15.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches