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.01034/0.01034, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.002357/0.002357, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.392/1.392, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.91 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9575/0.9589, allocations: 157.4 MB / 1.208 GB, free: 13.65 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.002456/0.9614, allocations: 0.8638 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.9631, allocations: 1.174 MB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.9632, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.9634, allocations: 27.73 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-05/0.9635, allocations: 15.84 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.964, allocations: 143.7 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.9643, allocations: 187.6 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.9644, allocations: 41.34 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.9645, allocations: 55.84 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.9646, allocations: 55.75 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.9647, allocations: 16 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.9648, allocations: 31.92 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.9648, allocations: 15.92 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.9649, allocations: 51.73 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.9652, allocations: 179.2 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9652, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9652, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.9652, allocations: 0 / 1.21 GB, free: 10.8 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.0006209/0.9659, allocations: 438.7 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9659, allocations: 8.031 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.966, allocations: 12.84 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.9663, allocations: 222.5 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.9663, allocations: 8.375 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.9663, allocations: 16.36 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.9665, allocations: 72.83 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.9665, allocations: 192 / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.9665, allocations: 7.922 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.9666, allocations: 7.938 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.435e-05/0.9666, allocations: 23.94 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.9673, allocations: 0.5437 MB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/0.9674, allocations: 26.58 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.9674, allocations: 12.92 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.9674, allocations: 3.938 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.9676, allocations: 67.33 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.9676, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002405/0.9678, allocations: 81.58 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.9679, allocations: 51.41 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.9681, allocations: 175.9 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.9681, allocations: 33.64 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.9682, allocations: 100.1 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.9682, allocations: 19.89 kB / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.9683, allocations: 33.69 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9684, allocations: 314.8 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.9685, allocations: 43.97 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.697e-05/0.9686, allocations: 54.56 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.9688, allocations: 96.2 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9688, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002851/0.9691, allocations: 163.3 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.9691, allocations: 37.69 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9691, allocations: 4 kB / 1.213 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9692, allocations: 4 kB / 1.213 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.9692, allocations: 4 kB / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.9692, allocations: 0 / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.9694, allocations: 43.81 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.9695, allocations: 4 kB / 1.213 GB, free: 7.824 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 0.0001132/0.9696, allocations: 117.8 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.9696, allocations: 11.89 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.9696, allocations: 16.88 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9696, allocations: 0 / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9697, allocations: 0 / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9697, allocations: 4.172 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.9698, allocations: 189.6 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9698, allocations: 4 kB / 1.213 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.9699, allocations: 7.984 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.9699, allocations: 0 / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.9699, allocations: 3.938 kB / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9699, allocations: 0 / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.9699, allocations: 3.984 kB / 1.213 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.97, allocations: 92.97 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.9701, allocations: 88.92 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.9701, allocations: 4 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.9701, allocations: 7.922 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.9702, allocations: 7.938 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.9702, allocations: 4 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001002/0.9703, allocations: 128.2 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9703, allocations: 0 / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002131/0.9705, allocations: 16 kB / 1.214 GB, free: 7.031 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.0001507/0.9707, allocations: 111.2 kB / 1.214 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.9709, allocations: 135.3 kB / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9709, allocations: 0 / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.971, allocations: 16 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.9712, allocations: 19.98 kB / 1.214 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.9716, allocations: 186.5 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.972, allocations: 0.7042 MB / 1.215 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.445e-05/0.972, allocations: 8.422 kB / 1.215 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.9721, allocations: 11.44 kB / 1.215 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9721, allocations: 0 / 1.215 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of Templates: time 0.00419/0.9763, allocations: 1.46 MB / 1.216 GB, free: 4.34 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/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