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.001361/0.001361, allocations: 113.4 kB / 16.41 MB, free: 6.492 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.001376/0.001376, allocations: 183 kB / 17.34 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.55/2.55, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 71.83 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8298/0.8313, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002067/0.8334, allocations: 0.8467 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.8348, allocations: 1.17 MB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.8349, allocations: 4 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.835, allocations: 23.8 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.888e-05/0.8351, allocations: 27.78 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.8356, allocations: 142.8 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.8358, allocations: 175.6 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.8359, allocations: 49.33 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.836, allocations: 51.84 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.8361, allocations: 51.77 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.8362, allocations: 23.98 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.8362, allocations: 27.98 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.8363, allocations: 19.86 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.8364, allocations: 63.66 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.8366, allocations: 167.2 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8366, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8366, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8366, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 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.0005292/0.8371, allocations: 438.7 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.8372, allocations: 8.031 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.8372, allocations: 16.84 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.8375, allocations: 226.3 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.8375, allocations: 8.375 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.8375, allocations: 8.375 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.8377, allocations: 76.81 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8377, allocations: 4.125 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.8377, allocations: 15.94 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8377, allocations: 0 / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.8378, allocations: 27.92 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.8383, allocations: 0.532 MB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.8384, allocations: 30.58 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.8384, allocations: 16.91 kB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.8384, allocations: 0 / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.8386, allocations: 71.31 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.8386, allocations: 0 / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001868/0.8388, allocations: 77.59 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.8388, allocations: 51.41 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.839, allocations: 183.9 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.839, allocations: 29.7 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.8391, allocations: 100.1 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.8391, allocations: 11.89 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.8391, allocations: 29.7 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8393, allocations: 322.8 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.8394, allocations: 35.98 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.8395, allocations: 62.5 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.8396, allocations: 92.25 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8396, allocations: 0 / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002568/0.8398, allocations: 163.2 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.8399, allocations: 41.69 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8399, allocations: 0 / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8399, allocations: 4.062 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.84, allocations: 7.938 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.84, allocations: 4 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.8402, allocations: 35.75 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.8402, allocations: 11.92 kB / 1.214 GB, free: 7.855 MB / 0.9356 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 8.604e-05/0.8403, allocations: 121.8 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.8403, allocations: 7.906 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.8403, allocations: 16.94 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8404, allocations: 0 / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8404, allocations: 0 / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8404, allocations: 3.938 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.8405, allocations: 189.6 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.8405, allocations: 0 / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.8405, allocations: 7.984 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8405, allocations: 0 / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.8405, allocations: 0 / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.8406, allocations: 4.062 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8406, allocations: 0 / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.8407, allocations: 104.9 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.8407, allocations: 88.91 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.8408, allocations: 0 / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.8408, allocations: 4 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.8408, allocations: 7.938 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.8408, allocations: 0 / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.866e-05/0.8409, allocations: 128.2 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8409, allocations: 0 / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002208/0.8412, allocations: 31.98 kB / 1.214 GB, free: 7.055 MB / 0.9356 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.0001379/0.8413, allocations: 99.25 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.8415, allocations: 135.3 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8415, allocations: 0 / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-05/0.8416, allocations: 19.98 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.8418, allocations: 16.11 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.8422, allocations: 216.8 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.8425, allocations: 0.704 MB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.8425, allocations: 15.38 kB / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.8425, allocations: 0 / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of Templates: time 0.003129/0.8456, allocations: 1.464 MB / 1.217 GB, free: 4.332 MB / 0.9356 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/jenkins1/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