Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001263/0.001262, allocations: 192.5 kB / 16.25 MB, free: 6.641 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.85/2.85, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 63.52 kB / 0.8986 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.336, allocations: 157.4 MB / 1.052 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.00219/0.3382, allocations: 0.8089 MB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3397, allocations: 1.143 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.3398, allocations: 7.938 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.34, allocations: 15.86 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.34, allocations: 11.92 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.3406, allocations: 118.9 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.3408, allocations: 131.8 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3409, allocations: 35.98 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.341, allocations: 43.84 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.3411, allocations: 39.83 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3411, allocations: 8 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.3412, allocations: 19.98 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.3412, allocations: 11.94 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.3413, allocations: 47.78 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.3415, allocations: 103.7 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3415, allocations: 4 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3415, allocations: 0 / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3415, allocations: 0 / 1.055 GB, free: 6.203 MB / 0.8106 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.0005678/0.3421, allocations: 413.2 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3421, allocations: 12.62 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.3422, allocations: 12.83 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3424, allocations: 198.5 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3424, allocations: 8.359 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.3425, allocations: 16.31 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3426, allocations: 68.83 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3426, allocations: 192 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3426, allocations: 3.938 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3427, allocations: 4 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.3427, allocations: 27.84 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.3432, allocations: 0.4931 MB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.073e-05/0.3432, allocations: 14.58 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.3433, allocations: 12.92 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.3433, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.3434, allocations: 55.39 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.3435, allocations: 7.938 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001935/0.3437, allocations: 69.53 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3437, allocations: 55.39 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 selectInitializationVariablesDAE (initialization): time 0.0001558/0.3439, allocations: 151 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3439, allocations: 33.7 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.344, allocations: 100 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/0.344, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.3441, allocations: 29.7 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3442, allocations: 326.8 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.065e-05/0.3443, allocations: 27.98 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.3444, allocations: 50.62 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3445, allocations: 80.2 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3445, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002502/0.3447, allocations: 151.2 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.3448, allocations: 43.41 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3448, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3448, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-05/0.3449, allocations: 4 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3449, allocations: 3.938 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.3451, allocations: 27.88 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.3452, allocations: 7.984 kB / 1.057 GB, free: 3.453 MB / 0.8106 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.0001027/0.3453, allocations: 127.4 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.3453, allocations: 7.906 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.3453, allocations: 8.25 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3453, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3454, allocations: 7.938 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3454, allocations: 3.984 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.3455, allocations: 165.7 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3455, allocations: 4 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-06/0.3455, allocations: 0 / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3455, allocations: 0 / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3455, allocations: 4 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3456, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.3456, allocations: 7.922 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3457, allocations: 89.19 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.3457, allocations: 88.95 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3457, allocations: 3.938 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.3458, allocations: 0 / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.3458, allocations: 7.922 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3458, allocations: 12 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.162e-05/0.3459, allocations: 105.5 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3459, allocations: 0 / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002219/0.3461, allocations: 16 kB / 1.058 GB, free: 2.711 MB / 0.8106 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.3463, allocations: 107.2 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3465, allocations: 119.3 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3465, allocations: 4 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.3466, allocations: 12.19 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.3468, allocations: 11.98 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.3472, allocations: 174.6 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3475, allocations: 0.6924 MB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.3475, allocations: 4 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.3476, allocations: 15.44 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.3476, allocations: 0 / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of Templates: time 0.00414/0.3517, allocations: 1.14 MB / 1.06 GB, free: 396 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches