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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001453/0.001453, allocations: 112.4 kB / 16.42 MB, free: 6.477 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.001637/0.001637, allocations: 187.9 kB / 17.35 MB, free: 5.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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.566/2.566, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.89 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6867, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002026/0.6887, allocations: 0.8605 MB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.6901, allocations: 1.164 MB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.6902, allocations: 7.938 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.6904, allocations: 23.8 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.6904, allocations: 15.86 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.691, allocations: 147.4 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.6912, allocations: 183.6 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.6914, allocations: 49.31 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.6915, allocations: 67.72 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.6916, allocations: 47.81 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.6916, allocations: 12 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.6917, allocations: 31.98 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.6917, allocations: 15.92 kB / 1.229 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.6918, allocations: 55.73 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.6921, allocations: 175.9 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6921, allocations: 0 / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6921, allocations: 0 / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6921, allocations: 4 kB / 1.229 GB, free: 10.67 MB / 0.9512 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.0005652/0.6927, allocations: 438.9 kB / 1.23 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6927, allocations: 8.031 kB / 1.23 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.6928, allocations: 12.89 kB / 1.23 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.6931, allocations: 226.5 kB / 1.23 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.6931, allocations: 8.375 kB / 1.23 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.6931, allocations: 4.375 kB / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.6933, allocations: 96.69 kB / 1.23 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6933, allocations: 192 / 1.23 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.6933, allocations: 7.922 kB / 1.23 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6933, allocations: 0 / 1.23 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.398e-05/0.6934, allocations: 27.94 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.6939, allocations: 0.5361 MB / 1.23 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.6939, allocations: 22.58 kB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.694, allocations: 20.86 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.694, allocations: 0 / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.6941, allocations: 63.39 kB / 1.231 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.6941, allocations: 4 kB / 1.231 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.6943, allocations: 89.52 kB / 1.231 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.6944, allocations: 51.41 kB / 1.231 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.6945, allocations: 167.3 kB / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.6945, allocations: 29.7 kB / 1.231 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.6946, allocations: 108.1 kB / 1.231 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.6946, allocations: 11.88 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.6947, allocations: 33.7 kB / 1.231 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.6948, allocations: 330.8 kB / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.6949, allocations: 43.91 kB / 1.231 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.695, allocations: 54.56 kB / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.6951, allocations: 92.2 kB / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6951, allocations: 0 / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002823/0.6954, allocations: 167.2 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.6955, allocations: 37.7 kB / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6955, allocations: 3.984 kB / 1.232 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6955, allocations: 0 / 1.232 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.6955, allocations: 4 kB / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6956, allocations: 0 / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.6958, allocations: 35.92 kB / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.6958, allocations: 8 kB / 1.232 GB, free: 7.688 MB / 0.9512 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.000104/0.6959, allocations: 126.4 kB / 1.232 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.6959, allocations: 16.17 kB / 1.232 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.696, allocations: 8.938 kB / 1.232 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.696, allocations: 3.984 kB / 1.232 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.696, allocations: 0 / 1.232 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.696, allocations: 92.95 kB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.6961, allocations: 3.984 kB / 1.232 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.456e-05/0.6961, allocations: 4 kB / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.6961, allocations: 0 / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001283/0.6963, allocations: 141 kB / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001574/0.6964, allocations: 246.6 kB / 1.232 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.271e-05/0.6965, allocations: 11.98 kB / 1.232 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.655e-05/0.6966, allocations: 124 kB / 1.232 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of Backend: time 3.91e-07/0.6966, allocations: 0 / 1.232 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.6971, allocations: 213.7 kB / 1.233 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005352/0.6976, allocations: 0.6519 MB / 1.233 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of Templates: time 0.00393/0.7016, allocations: 1.497 MB / 1.235 GB, free: 4.457 MB / 0.9512 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