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.001531/0.001531, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.7 MB / 0.7452 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 70.83 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3252, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002237/0.3275, allocations: 0.8421 MB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.329, allocations: 1.174 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.3291, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.3292, allocations: 23.8 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.3293, allocations: 23.72 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.3298, allocations: 139.1 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.33, allocations: 187.6 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3302, allocations: 45.36 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.853e-05/0.3302, allocations: 55.8 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.3303, allocations: 43.77 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.3304, allocations: 16 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.3305, allocations: 27.98 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.3305, allocations: 23.91 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.3306, allocations: 51.8 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3308, allocations: 159.5 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3308, allocations: 0 / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3308, allocations: 3.938 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3309, allocations: 4 kB / 1.071 GB, free: 7.535 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.0005505/0.3314, allocations: 440.9 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3315, allocations: 8.031 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.3315, allocations: 12.84 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.3317, allocations: 214.5 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3318, allocations: 8.375 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3318, allocations: 8.375 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3319, allocations: 104.6 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3319, allocations: 192 / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.332, allocations: 3.938 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.332, allocations: 0 / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.326e-05/0.332, allocations: 27.98 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.3325, allocations: 0.536 MB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.836e-05/0.3326, allocations: 30.5 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.3327, allocations: 12.92 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.3327, allocations: 4 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.3328, allocations: 63.39 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.3328, allocations: 4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001902/0.333, allocations: 77.53 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3331, allocations: 59.39 kB / 1.073 GB, free: 5.734 MB / 0.8262 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 selectInitializationVariablesDAE (initialization): time 0.0001601/0.3332, allocations: 173.1 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3333, allocations: 29.7 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.3333, allocations: 108.1 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.3334, allocations: 7.844 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.3334, allocations: 37.7 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3335, allocations: 322.8 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.3336, allocations: 35.98 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.3337, allocations: 58.55 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.3338, allocations: 92.2 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3339, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003121/0.3342, allocations: 167.2 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.3342, allocations: 39.27 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.3343, allocations: 3.938 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3343, allocations: 0 / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.3343, allocations: 7.984 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3344, allocations: 0 / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.3346, allocations: 31.81 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.3346, allocations: 8.062 kB / 1.074 GB, free: 4.559 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.0001215/0.3347, allocations: 123.7 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3348, allocations: 19.89 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.3348, allocations: 8.922 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3348, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3348, allocations: 4 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3348, allocations: 3.938 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.335, allocations: 197.5 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.335, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.335, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.335, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3351, allocations: 8 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3351, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3351, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.3352, allocations: 100.9 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.3353, allocations: 85.02 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3353, allocations: 4 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.3353, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3354, allocations: 11.92 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3354, allocations: 4 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3355, allocations: 125.8 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3355, allocations: 0 / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002349/0.3357, allocations: 24 kB / 1.074 GB, free: 3.758 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.000171/0.3359, allocations: 111.6 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.3362, allocations: 135.4 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3362, allocations: 0 / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.3362, allocations: 20.06 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3365, allocations: 20.98 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.3369, allocations: 190.5 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3372, allocations: 0.6963 MB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.3372, allocations: 12.36 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.3373, allocations: 15.44 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3373, allocations: 0 / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of Templates: time 0.004721/0.342, allocations: 1.451 MB / 1.077 GB, free: 1.062 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