Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_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_11_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.007244/0.007244, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.00157/0.00157, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.879/2.879, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.89 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3351, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002174/0.3373, allocations: 0.8553 MB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3391, allocations: 1.174 MB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.3392, allocations: 7.938 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.3394, allocations: 27.78 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.3394, allocations: 15.88 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.34, allocations: 139.6 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.3403, allocations: 175.6 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.3404, allocations: 29.34 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.3405, allocations: 59.78 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3406, allocations: 55.75 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.3407, allocations: 12 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.3407, allocations: 27.98 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.3408, allocations: 15.94 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.3409, allocations: 67.64 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3411, allocations: 175.3 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3411, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3411, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3411, allocations: 0 / 1.223 GB, free: 11.02 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.0005745/0.3417, allocations: 432.7 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3417, allocations: 12.02 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.3418, allocations: 12.89 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.3421, allocations: 224.2 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.3421, allocations: 8.375 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3421, allocations: 8.359 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3423, allocations: 92.69 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3423, allocations: 192 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.3423, allocations: 7.938 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3423, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.075e-05/0.3424, allocations: 27.98 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.343, allocations: 0.536 MB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.343, allocations: 26.52 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.3431, allocations: 16.92 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.3431, allocations: 0 / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.3432, allocations: 63.39 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3432, allocations: 0 / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002397/0.3434, allocations: 85.52 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3435, allocations: 55.39 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.3437, allocations: 176 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3437, allocations: 29.7 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.3438, allocations: 112.1 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.3438, allocations: 7.953 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.3438, allocations: 29.7 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.344, allocations: 322.8 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.3441, allocations: 35.98 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3442, allocations: 58.55 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3443, allocations: 100.3 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3443, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00029/0.3446, allocations: 167.2 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.3447, allocations: 37.7 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3447, allocations: 0 / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3447, allocations: 3.938 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.3447, allocations: 7.984 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3447, allocations: 4.062 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.3449, allocations: 31.86 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.345, allocations: 11.94 kB / 1.226 GB, free: 8.023 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: 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.0001116/0.3451, allocations: 114.4 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.3451, allocations: 15.89 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.3451, allocations: 12.92 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3451, allocations: 4 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3451, allocations: 4 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3452, allocations: 3.938 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.3453, allocations: 193.6 kB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3453, allocations: 0 / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.3453, allocations: 0 / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3453, allocations: 4 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3454, allocations: 0 / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3454, allocations: 0 / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3454, allocations: 0 / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.3455, allocations: 105.2 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.3455, allocations: 89.09 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3455, allocations: 0 / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.3456, allocations: 0 / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.3456, allocations: 15.92 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.3456, allocations: 3.938 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.387e-05/0.3457, allocations: 120 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3457, allocations: 0 / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002132/0.3459, allocations: 24 kB / 1.227 GB, free: 7.23 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: 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.0001492/0.3461, allocations: 107.2 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3463, allocations: 119.4 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3463, allocations: 0 / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.3463, allocations: 15.94 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3466, allocations: 26.02 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.3469, allocations: 202.4 kB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3472, allocations: 0.7001 MB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.3472, allocations: 16.36 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.3473, allocations: 15.38 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3473, allocations: 0 / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of Templates: time 0.004149/0.3514, allocations: 1.45 MB / 1.229 GB, free: 4.535 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches