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.001194/0.001194, allocations: 105.2 kB / 16.27 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.001318/0.001318, allocations: 192.7 kB / 17.2 MB, free: 5.953 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 469.4 MB / 0.7427 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 68.11 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3252, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.00288/0.3281, allocations: 0.8438 MB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3298, allocations: 1.186 MB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.33, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.3301, allocations: 23.8 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.757e-05/0.3303, allocations: 15.8 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.3308, allocations: 145.4 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.331, allocations: 179.6 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3312, allocations: 37.39 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.3312, allocations: 63.78 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.784e-05/0.3314, allocations: 39.83 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.3314, allocations: 19.94 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.3315, allocations: 35.97 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.3315, allocations: 15.94 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.3316, allocations: 55.78 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3318, allocations: 171.7 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3318, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3319, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3319, allocations: 4 kB / 1.067 GB, free: 12.23 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.0006169/0.3325, allocations: 434.6 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3325, allocations: 8.625 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.3326, allocations: 12.84 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.3329, allocations: 228 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3329, allocations: 4.375 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3329, allocations: 4.375 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3331, allocations: 92.69 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3331, allocations: 4.188 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3331, allocations: 7.938 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3331, allocations: 0 / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.3332, allocations: 27.98 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.3338, allocations: 0.5282 MB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.3338, allocations: 38.52 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.3339, allocations: 8.922 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-06/0.3339, allocations: 3.984 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.3341, allocations: 63.39 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3341, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002185/0.3343, allocations: 81.53 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3343, allocations: 55.41 kB / 1.069 GB, free: 10.45 MB / 0.8419 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.0001635/0.3345, allocations: 179.3 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3345, allocations: 25.7 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.3346, allocations: 112 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.3346, allocations: 3.906 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.3347, allocations: 37.7 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3348, allocations: 318.8 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.335, allocations: 35.98 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.3351, allocations: 58.56 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3352, allocations: 92.2 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3352, allocations: 0 / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002723/0.3355, allocations: 167.2 kB / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.3355, allocations: 41.69 kB / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3356, allocations: 4.062 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3356, allocations: 4.172 kB / 1.07 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.3356, allocations: 4 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3357, allocations: 0 / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.3359, allocations: 31.81 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.3359, allocations: 15.98 kB / 1.07 GB, free: 9.258 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.000104/0.336, allocations: 117.8 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.3361, allocations: 15.91 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.3361, allocations: 12.92 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3361, allocations: 4 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3361, allocations: 7.875 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3361, allocations: 3.938 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.3363, allocations: 185.6 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3363, allocations: 4.062 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.3363, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3363, allocations: 4 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3364, allocations: 4 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3364, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3364, allocations: 4 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.3365, allocations: 88.97 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.3365, allocations: 96.91 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.3366, allocations: 0 / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.3366, allocations: 0 / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.3366, allocations: 7.938 kB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3366, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.841e-05/0.3367, allocations: 136.9 kB / 1.07 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3367, allocations: 3.938 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002195/0.337, allocations: 20 kB / 1.07 GB, free: 8.457 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.0001652/0.3371, allocations: 103.7 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3374, allocations: 135.4 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3374, allocations: 0 / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.3375, allocations: 23.92 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3377, allocations: 23.53 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.3382, allocations: 204.3 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3385, allocations: 0.7041 MB / 1.071 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.3385, allocations: 11.44 kB / 1.071 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3385, allocations: 3.938 kB / 1.071 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of Templates: time 0.003813/0.3423, allocations: 1.459 MB / 1.073 GB, free: 5.73 MB / 0.8419 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