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.001049/0.00105, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.00104/0.00104, allocations: 183.9 kB / 17.35 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.307/1.307, allocations: 222.9 MB / 241.1 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.486/2.486, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7071, allocations: 157.4 MB / 1.208 GB, free: 13.62 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.002173/0.7093, allocations: 0.8549 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.7107, allocations: 1.17 MB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.7108, allocations: 7.938 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.711, allocations: 23.8 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.711, allocations: 19.84 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.7115, allocations: 151.1 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.7118, allocations: 175.6 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.7119, allocations: 49.33 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.712, allocations: 55.78 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.7121, allocations: 51.77 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.7122, allocations: 16 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.7123, allocations: 27.98 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.7123, allocations: 19.91 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.7124, allocations: 59.73 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.7126, allocations: 171.1 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7126, allocations: 4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7126, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.7126, allocations: 4 kB / 1.211 GB, free: 10.77 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.0004915/0.7131, allocations: 438.6 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.7132, allocations: 8.031 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.7132, allocations: 12.84 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.7135, allocations: 216.1 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.7135, allocations: 8.375 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.7135, allocations: 8.375 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.7137, allocations: 84.75 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7137, allocations: 192 / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.7137, allocations: 15.92 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.7137, allocations: 0 / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.7138, allocations: 27.88 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.7143, allocations: 0.5398 MB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.7143, allocations: 26.58 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.7144, allocations: 12.92 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.7144, allocations: 0 / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.7145, allocations: 63.39 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.7145, allocations: 4 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.7147, allocations: 85.52 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.7147, allocations: 51.41 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.7149, allocations: 168 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.7149, allocations: 33.7 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.715, allocations: 100.1 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.715, allocations: 7.906 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.7151, allocations: 29.7 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.7152, allocations: 334.8 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.7153, allocations: 35.97 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.7154, allocations: 54.56 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.7155, allocations: 96.27 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7155, allocations: 0 / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002639/0.7158, allocations: 167.2 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.7158, allocations: 37.7 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7158, allocations: 7.984 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7158, allocations: 0 / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.7159, allocations: 0 / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7159, allocations: 4 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.7161, allocations: 35.75 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.7161, allocations: 4 kB / 1.214 GB, free: 7.805 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 9.5e-05/0.7162, allocations: 129.8 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.7163, allocations: 15.83 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.7163, allocations: 9.172 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7163, allocations: 7.922 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7163, allocations: 0 / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.7164, allocations: 92.95 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.7164, allocations: 3.984 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.7164, allocations: 0 / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.7165, allocations: 4 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001238/0.7166, allocations: 141 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001621/0.7168, allocations: 246.5 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.621e-05/0.7168, allocations: 19.98 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.985e-05/0.7169, allocations: 128.2 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of Backend: time 3.31e-07/0.7169, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.7174, allocations: 201.8 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005873/0.718, allocations: 0.6405 MB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of Templates: time 0.00428/0.7223, allocations: 1.498 MB / 1.217 GB, free: 4.59 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