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.0009302/0.0009302, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005742/0.005742, allocations: 171 kB / 16.26 MB, free: 6.613 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003592, allocations: 8.844 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3439, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.00123/0.3451, allocations: 0.5636 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3467, allocations: 1.19 MB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.3468, allocations: 4 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.3469, allocations: 19.8 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.3469, allocations: 11.92 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.3474, allocations: 131.5 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.3476, allocations: 155.6 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3478, allocations: 33.31 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.3478, allocations: 47.78 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.3479, allocations: 43.81 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.348, allocations: 4 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.348, allocations: 19.94 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.3481, allocations: 11.92 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.3482, allocations: 69.44 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3484, allocations: 163.7 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3484, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3484, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.3484, allocations: 4 kB / 1.061 GB, free: 2.996 MB / 0.8106 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.0004827/0.3489, allocations: 408.9 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3489, allocations: 8.031 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.349, allocations: 12.84 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3492, allocations: 218.9 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3493, allocations: 12.31 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3493, allocations: 8.375 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3494, allocations: 80.81 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3495, allocations: 4.125 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3495, allocations: 11.94 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3495, allocations: 3.938 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.689e-05/0.3496, allocations: 31.91 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.3501, allocations: 0.5321 MB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.3502, allocations: 30.56 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.3502, allocations: 12.92 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.3502, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.3503, allocations: 67.33 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3503, allocations: 0 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002015/0.3505, allocations: 81.58 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3506, allocations: 55.41 kB / 1.063 GB, free: 1.23 MB / 0.8106 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 selectInitializationVariablesDAE (initialization): time 0.0001694/0.3508, allocations: 176.9 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3508, allocations: 25.7 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.3509, allocations: 116 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.3509, allocations: 3.906 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.351, allocations: 21.7 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3511, allocations: 322.8 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.3512, allocations: 35.98 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.3513, allocations: 58.5 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.3514, allocations: 92.25 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3514, allocations: 4 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002612/0.3516, allocations: 163.2 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.3517, allocations: 41.75 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3517, allocations: 4.062 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3517, allocations: 4 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.3518, allocations: 7.938 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3518, allocations: 80 / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.352, allocations: 43.81 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.3521, allocations: 23.91 kB / 1.064 GB, free: 32 kB / 0.8106 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.000117/0.3522, allocations: 115.2 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.3522, allocations: 11.91 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.3522, allocations: 8.938 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3522, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3522, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3523, allocations: 3.938 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3524, allocations: 185.6 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3524, allocations: 4 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.3524, allocations: 3.984 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3524, allocations: 4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3525, allocations: 3.938 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3525, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3525, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.3526, allocations: 96.91 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.3527, allocations: 96.91 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3527, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.3527, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.3527, allocations: 7.938 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3527, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.189e-05/0.3528, allocations: 124 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3529, allocations: 4 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002073/0.3531, allocations: 19.98 kB / 1.064 GB, free: 15.25 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.0001494/0.3532, allocations: 103.2 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.3535, allocations: 143.6 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3535, allocations: 0 / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.3535, allocations: 20.06 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3537, allocations: 16.03 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.3541, allocations: 215.3 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3544, allocations: 0.7004 MB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.3544, allocations: 4.438 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.3544, allocations: 15.42 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of SimCode: time 1.422e-06/0.3545, allocations: 4 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.004044/0.3585, allocations: 1.373 MB / 1.067 GB, free: 12.64 MB / 0.8262 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