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.001591/0.001591, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001794/0.001794, allocations: 198.6 kB / 16.26 MB, free: 6.625 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.885/2.885, allocations: 469.8 MB / 0.742 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.2 kB / 0.908 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.297, allocations: 159.2 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.00211/0.2991, allocations: 0.8927 MB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3006, allocations: 1.182 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.3007, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.3008, allocations: 19.86 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.3009, allocations: 11.86 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.3014, allocations: 130.3 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3016, allocations: 179.5 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3017, allocations: 41.38 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.445e-05/0.3018, allocations: 59.78 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.3019, allocations: 47.77 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.3019, allocations: 16 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.188e-05/0.302, allocations: 27.98 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.3021, allocations: 19.91 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.3021, allocations: 55.73 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3024, allocations: 175.7 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3024, allocations: 4 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3024, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3024, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 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.0006032/0.303, allocations: 436.7 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3031, allocations: 8.031 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.3031, allocations: 12.84 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3034, allocations: 212.1 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3034, allocations: 8.375 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.3034, allocations: 8.375 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3036, allocations: 84.75 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3036, allocations: 4.188 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3037, allocations: 7.938 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3037, allocations: 3.938 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.3037, allocations: 23.98 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.3044, allocations: 0.5399 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.3045, allocations: 34.5 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.3045, allocations: 12.92 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3045, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.3046, allocations: 67.39 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3047, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002261/0.3049, allocations: 81.52 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3049, allocations: 55.41 kB / 1.068 GB, free: 9.941 MB / 0.8262 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 selectInitializationVariablesDAE (initialization): time 0.0001962/0.3051, allocations: 177.4 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3052, allocations: 25.7 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.3053, allocations: 116 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.3053, allocations: 3.906 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.209e-05/0.3054, allocations: 33.7 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3055, allocations: 322.8 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.3056, allocations: 39.98 kB / 1.068 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3057, allocations: 58.55 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.3059, allocations: 88.22 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3059, allocations: 4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003008/0.3062, allocations: 167.2 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.3062, allocations: 41.64 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3062, allocations: 0 / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3063, allocations: 0 / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.407e-05/0.3063, allocations: 4 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3063, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.3065, allocations: 35.8 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.3066, allocations: 8.062 kB / 1.069 GB, free: 8.762 MB / 0.8262 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.0001214/0.3067, allocations: 117.8 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.3067, allocations: 15.84 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.3068, allocations: 16.86 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3068, allocations: 0 / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3068, allocations: 0 / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3068, allocations: 7.938 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.307, allocations: 193.6 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.307, allocations: 0 / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.307, allocations: 4 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.307, allocations: 64 / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.307, allocations: 8 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.307, allocations: 0 / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.307, allocations: 0 / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.3072, allocations: 96.95 kB / 1.069 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.3072, allocations: 88.92 kB / 1.069 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3073, allocations: 0 / 1.069 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.332e-05/0.3073, allocations: 4 kB / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.3073, allocations: 11.92 kB / 1.069 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3073, allocations: 4 kB / 1.069 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3074, allocations: 128.8 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3075, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002331/0.3077, allocations: 24 kB / 1.07 GB, free: 7.961 MB / 0.8262 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.0001538/0.3078, allocations: 103.2 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.3081, allocations: 143.4 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3081, allocations: 4.125 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.3082, allocations: 15.94 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3084, allocations: 25.73 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.3088, allocations: 202.6 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3091, allocations: 0.7002 MB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.3092, allocations: 8.422 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.3092, allocations: 11.44 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3092, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.004149/0.3133, allocations: 1.433 MB / 1.072 GB, free: 5.27 MB / 0.8262 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=400 -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