Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002135/0.002135, allocations: 196 kB / 16.14 MB, free: 6.711 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7342 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 69.58 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002358/0.3385, allocations: 0.8972 MB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3402, allocations: 1.209 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.3403, allocations: 0 / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3405, allocations: 19.86 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.3405, allocations: 15.8 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.341, allocations: 126.9 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3411, allocations: 155.6 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3413, allocations: 41.3 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.3414, allocations: 47.83 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.3415, allocations: 39.78 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3415, allocations: 8 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.3416, allocations: 23.98 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.3416, allocations: 19.86 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.516e-05/0.3417, allocations: 47.72 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3419, allocations: 163.7 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3419, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3419, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.342, allocations: 0 / 1.055 GB, free: 6.051 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006127/0.3426, allocations: 424.9 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3426, allocations: 12.03 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.3427, allocations: 20.75 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.343, allocations: 220 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.343, allocations: 8.375 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.343, allocations: 8.375 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3432, allocations: 80.75 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3432, allocations: 4.188 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3433, allocations: 7.938 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3433, allocations: 4 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.3434, allocations: 31.92 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.3439, allocations: 0.5283 MB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.344, allocations: 30.56 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.3441, allocations: 16.92 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3441, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3443, allocations: 63.3 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3443, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002375/0.3445, allocations: 89.52 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3446, allocations: 51.41 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderInteger.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 selectInitializationVariablesDAE (initialization): time 0.0001946/0.3448, allocations: 172 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3448, allocations: 37.7 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.3449, allocations: 115.9 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.3449, allocations: 7.906 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.345, allocations: 33.69 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3451, allocations: 322.8 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.3452, allocations: 35.97 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-05/0.3453, allocations: 54.56 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.3455, allocations: 96.2 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3455, allocations: 3.938 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002811/0.3457, allocations: 163.2 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.3458, allocations: 37.7 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3458, allocations: 4.062 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3458, allocations: 4 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.3459, allocations: 4.062 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3459, allocations: 7.984 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3461, allocations: 35.75 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.3462, allocations: 4 kB / 1.057 GB, free: 3.066 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.0001006/0.3463, allocations: 125.8 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.3463, allocations: 7.906 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.3463, allocations: 8.938 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3463, allocations: 4 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3463, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3464, allocations: 3.938 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.3465, allocations: 189.6 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3465, allocations: 4.062 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.3465, allocations: 4 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3465, allocations: 0 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3466, allocations: 3.984 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3466, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3466, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.3467, allocations: 104.9 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.3468, allocations: 81.02 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.3468, allocations: 7.984 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.495e-05/0.3468, allocations: 4 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.3469, allocations: 7.875 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3469, allocations: 0 / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.11e-05/0.347, allocations: 124 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.347, allocations: 0 / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002184/0.3472, allocations: 27.91 kB / 1.058 GB, free: 2.277 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0001773/0.3474, allocations: 111.2 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3476, allocations: 135.6 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3476, allocations: 0 / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.3477, allocations: 16 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.3479, allocations: 20.11 kB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.3483, allocations: 204.5 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3486, allocations: 0.7004 MB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.3486, allocations: 8.422 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.3487, allocations: 11.44 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3487, allocations: 4 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of Templates: time 0.0039/0.3526, allocations: 1.374 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches