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.001665/0.001666, allocations: 109.7 kB / 15.99 MB, free: 6.359 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.001633/0.001633, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.725/2.725, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 62.73 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002199/0.3157, allocations: 0.9047 MB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3173, allocations: 1.182 MB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.3174, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.3176, allocations: 19.86 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.3177, allocations: 11.88 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.3182, allocations: 129.8 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.3184, allocations: 171.6 kB / 1.067 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3185, allocations: 45.31 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.3186, allocations: 55.73 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.3187, allocations: 47.83 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.3188, allocations: 20 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.366e-05/0.3188, allocations: 31.92 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.3189, allocations: 15.97 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.319, allocations: 51.73 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3191, allocations: 135.9 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3192, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3192, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3192, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 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.0005844/0.3198, allocations: 436.8 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3198, allocations: 8.625 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.3199, allocations: 16.84 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3201, allocations: 217.7 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3202, allocations: 4.375 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3202, allocations: 16.31 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3204, allocations: 80.81 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3204, allocations: 192 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.3204, allocations: 7.922 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3204, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.429e-05/0.3205, allocations: 31.94 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.3211, allocations: 0.536 MB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/0.3212, allocations: 26.64 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.3212, allocations: 20.84 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3212, allocations: 3.938 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.3213, allocations: 63.38 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3213, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002123/0.3216, allocations: 81.58 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3216, allocations: 51.41 kB / 1.068 GB, free: 10.51 MB / 0.8419 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.000192/0.3218, allocations: 179.3 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3219, allocations: 29.64 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.3219, allocations: 112 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.322, allocations: 7.906 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.322, allocations: 37.69 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3222, allocations: 318.8 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.3223, allocations: 39.98 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.3224, allocations: 54.56 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.3225, allocations: 100.2 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3225, allocations: 0 / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002872/0.3228, allocations: 167.2 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.3229, allocations: 37.69 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3229, allocations: 0 / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3229, allocations: 3.938 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.205e-05/0.323, allocations: 8.062 kB / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.323, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3232, allocations: 35.81 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.3232, allocations: 8 kB / 1.07 GB, free: 9.316 MB / 0.8419 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.0001054/0.3234, allocations: 120 kB / 1.07 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.3234, allocations: 11.91 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.3234, allocations: 8.938 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3234, allocations: 8 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3234, allocations: 0 / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3234, allocations: 3.938 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.3236, allocations: 189.6 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3236, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.3236, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.3237, allocations: 7.984 kB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3237, allocations: 3.938 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3237, allocations: 0 / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3237, allocations: 0 / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.3238, allocations: 96.97 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.3239, allocations: 88.92 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3239, allocations: 3.984 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.3239, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.324, allocations: 7.938 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.324, allocations: 0 / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000107/0.3241, allocations: 124.9 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3241, allocations: 4 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002173/0.3243, allocations: 20 kB / 1.07 GB, free: 8.535 MB / 0.8419 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.0001628/0.3245, allocations: 111.2 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3247, allocations: 135.3 kB / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3247, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.3248, allocations: 32.23 kB / 1.07 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.325, allocations: 24.05 kB / 1.07 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.3255, allocations: 238.8 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3258, allocations: 0.7003 MB / 1.071 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.3258, allocations: 11.44 kB / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3258, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of Templates: time 0.003361/0.3292, allocations: 1.447 MB / 1.073 GB, free: 5.777 MB / 0.8419 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/jenkins1/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