Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001014/0.001014, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008959/0.008959, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.107/3.107, allocations: 470.6 MB / 0.7442 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004381, allocations: 12.16 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3924, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001481/0.3939, allocations: 0.5538 MB / 1.07 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3958, allocations: 1.19 MB / 1.072 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.3959, allocations: 7.938 kB / 1.072 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3961, allocations: 19.86 kB / 1.072 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.3962, allocations: 11.91 kB / 1.072 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.3967, allocations: 127.5 kB / 1.072 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3969, allocations: 147.6 kB / 1.072 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.397, allocations: 37.39 kB / 1.072 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.3971, allocations: 55.77 kB / 1.072 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.3972, allocations: 35.78 kB / 1.072 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.3973, allocations: 8 kB / 1.072 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.341e-05/0.3974, allocations: 11.98 kB / 1.072 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.3974, allocations: 11.94 kB / 1.072 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3975, allocations: 81.41 kB / 1.072 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.3978, allocations: 155.7 kB / 1.072 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3978, allocations: 0 / 1.072 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3978, allocations: 0 / 1.072 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3978, allocations: 0 / 1.072 GB, free: 8.91 MB / 0.8262 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.0006713/0.3985, allocations: 412.9 kB / 1.073 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3986, allocations: 12.02 kB / 1.073 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.3986, allocations: 12.84 kB / 1.073 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.399, allocations: 216 kB / 1.073 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.399, allocations: 4.375 kB / 1.073 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.399, allocations: 12.38 kB / 1.073 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3992, allocations: 84.75 kB / 1.073 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.3992, allocations: 192 / 1.073 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.3993, allocations: 11.88 kB / 1.073 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3993, allocations: 7.875 kB / 1.073 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.3994, allocations: 27.98 kB / 1.073 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.4001, allocations: 0.536 MB / 1.074 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.545e-05/0.4002, allocations: 26.64 kB / 1.074 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.4003, allocations: 20.84 kB / 1.074 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.4003, allocations: 3.938 kB / 1.074 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.4005, allocations: 59.39 kB / 1.074 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 5.089e-06/0.4005, allocations: 3.984 kB / 1.074 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000258/0.4007, allocations: 73.59 kB / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4008, allocations: 59.41 kB / 1.074 GB, free: 7.137 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.0002386/0.4011, allocations: 185.2 kB / 1.074 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.4011, allocations: 25.7 kB / 1.074 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.4012, allocations: 108.1 kB / 1.074 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.4012, allocations: 7.906 kB / 1.074 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.4013, allocations: 21.72 kB / 1.074 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4015, allocations: 318.8 kB / 1.074 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.4016, allocations: 35.98 kB / 1.074 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4017, allocations: 62.55 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.4019, allocations: 92.2 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4019, allocations: 0 / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003164/0.4022, allocations: 167.3 kB / 1.075 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.4023, allocations: 37.7 kB / 1.075 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4023, allocations: 0 / 1.075 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4023, allocations: 4.062 kB / 1.075 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.4024, allocations: 4 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.4024, allocations: 3.984 kB / 1.075 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.4027, allocations: 45.22 kB / 1.075 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.4027, allocations: 4 kB / 1.075 GB, free: 5.961 MB / 0.8262 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.0001335/0.4028, allocations: 125.8 kB / 1.075 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.4029, allocations: 15.83 kB / 1.075 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.4029, allocations: 8.938 kB / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4029, allocations: 0 / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4029, allocations: 0 / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4029, allocations: 3.938 kB / 1.075 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.4031, allocations: 189.6 kB / 1.075 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4031, allocations: 0 / 1.075 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.4032, allocations: 4 kB / 1.075 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4032, allocations: 11.88 kB / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.4032, allocations: 0 / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4032, allocations: 0 / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4032, allocations: 0 / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.4034, allocations: 100.9 kB / 1.075 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.4035, allocations: 85.02 kB / 1.075 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4035, allocations: 4 kB / 1.075 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.4035, allocations: 0 / 1.075 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.4036, allocations: 15.92 kB / 1.075 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4036, allocations: 0 / 1.075 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001151/0.4037, allocations: 132.9 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4037, allocations: 0 / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002136/0.4039, allocations: 16 kB / 1.076 GB, free: 5.168 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.0001842/0.4041, allocations: 111.2 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.4044, allocations: 135.3 kB / 1.076 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4044, allocations: 128 / 1.076 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.4044, allocations: 20 kB / 1.076 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.4047, allocations: 15.98 kB / 1.076 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.4051, allocations: 219.1 kB / 1.076 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.4055, allocations: 0.6965 MB / 1.077 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.4056, allocations: 4.906 kB / 1.077 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.4056, allocations: 11.44 kB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4056, allocations: 0 / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.00477/0.4104, allocations: 1.387 MB / 1.078 GB, free: 2.523 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches