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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 112.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 189.5 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.928/2.928, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 69.08 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3221, allocations: 174.9 MB / 1.316 GB, free: 9.66 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002575/0.3247, allocations: 0.8672 MB / 1.317 GB, free: 8.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3264, allocations: 1.182 MB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.3265, allocations: 0 / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.3267, allocations: 27.73 kB / 1.318 GB, free: 7.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.3267, allocations: 19.84 kB / 1.318 GB, free: 7.551 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.3272, allocations: 150.8 kB / 1.318 GB, free: 7.406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.3275, allocations: 171.6 kB / 1.318 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3276, allocations: 37.5 kB / 1.318 GB, free: 7.195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.3277, allocations: 47.86 kB / 1.318 GB, free: 7.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3278, allocations: 55.75 kB / 1.318 GB, free: 7.094 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.3279, allocations: 23.92 kB / 1.319 GB, free: 7.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.3279, allocations: 27.98 kB / 1.319 GB, free: 7.043 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.328, allocations: 11.94 kB / 1.319 GB, free: 7.031 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.328, allocations: 67.72 kB / 1.319 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.3283, allocations: 163.5 kB / 1.319 GB, free: 6.805 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3283, allocations: 0 / 1.319 GB, free: 6.805 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3283, allocations: 0 / 1.319 GB, free: 6.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3283, allocations: 7.938 kB / 1.319 GB, free: 6.797 MB / 1.014 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.0005906/0.3289, allocations: 359.6 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3289, allocations: 12.03 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.329, allocations: 16.83 kB / 1.319 GB, free: 6.379 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.3293, allocations: 166.3 kB / 1.319 GB, free: 6.191 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3293, allocations: 384 / 1.319 GB, free: 6.191 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.3293, allocations: 12.38 kB / 1.319 GB, free: 6.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3294, allocations: 92.69 kB / 1.319 GB, free: 6.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3295, allocations: 8.109 kB / 1.319 GB, free: 6.066 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3295, allocations: 3.938 kB / 1.319 GB, free: 6.062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3295, allocations: 0 / 1.319 GB, free: 6.062 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.3295, allocations: 31.98 kB / 1.319 GB, free: 6.031 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.3301, allocations: 0.5001 MB / 1.32 GB, free: 5.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.385e-05/0.3302, allocations: 26.58 kB / 1.32 GB, free: 5.445 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.3302, allocations: 16.86 kB / 1.32 GB, free: 5.426 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.3302, allocations: 0 / 1.32 GB, free: 5.426 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.3303, allocations: 63.34 kB / 1.32 GB, free: 5.352 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3303, allocations: 4 kB / 1.32 GB, free: 5.348 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002032/0.3305, allocations: 81.62 kB / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3306, allocations: 55.34 kB / 1.32 GB, free: 5.195 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.3307, allocations: 176.6 kB / 1.32 GB, free: 5.012 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3308, allocations: 29.7 kB / 1.32 GB, free: 4.977 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.3308, allocations: 104.1 kB / 1.32 GB, free: 4.871 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.3308, allocations: 15.94 kB / 1.32 GB, free: 4.855 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.3309, allocations: 33.69 kB / 1.321 GB, free: 4.816 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.331, allocations: 326.8 kB / 1.321 GB, free: 4.488 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.3311, allocations: 35.98 kB / 1.321 GB, free: 4.453 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.3312, allocations: 50.56 kB / 1.321 GB, free: 4.395 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3313, allocations: 92.2 kB / 1.321 GB, free: 4.289 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3313, allocations: 0 / 1.321 GB, free: 4.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002669/0.3316, allocations: 175.2 kB / 1.321 GB, free: 4.105 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.3316, allocations: 37.69 kB / 1.321 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.3316, allocations: 3.938 kB / 1.321 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3317, allocations: 0 / 1.321 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.3317, allocations: 8 kB / 1.321 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3317, allocations: 0 / 1.321 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3319, allocations: 35.8 kB / 1.321 GB, free: 4.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3319, allocations: 4 kB / 1.321 GB, free: 4.012 MB / 1.014 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 9.688e-05/0.332, allocations: 126.8 kB / 1.321 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.332, allocations: 7.953 kB / 1.321 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.3321, allocations: 13.03 kB / 1.321 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3321, allocations: 0 / 1.321 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3321, allocations: 0 / 1.321 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3321, allocations: 3.938 kB / 1.321 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.3322, allocations: 164.7 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3322, allocations: 0 / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.3322, allocations: 8 kB / 1.322 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3322, allocations: 4 kB / 1.322 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3322, allocations: 4 kB / 1.322 GB, free: 3.629 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3322, allocations: 3.984 kB / 1.322 GB, free: 3.625 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3322, allocations: 0 / 1.322 GB, free: 3.625 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.3324, allocations: 96.97 kB / 1.322 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.3324, allocations: 7.953 kB / 1.322 GB, free: 3.504 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3324, allocations: 288 / 1.322 GB, free: 3.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.3324, allocations: 3.984 kB / 1.322 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.3325, allocations: 11.94 kB / 1.322 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3325, allocations: 4 kB / 1.322 GB, free: 3.484 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001057/0.3326, allocations: 122.5 kB / 1.322 GB, free: 3.367 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3326, allocations: 3.938 kB / 1.322 GB, free: 3.363 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002085/0.3328, allocations: 20 kB / 1.322 GB, free: 3.344 MB / 1.014 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.0001427/0.3329, allocations: 119.6 kB / 1.322 GB, free: 3.215 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3331, allocations: 119.4 kB / 1.322 GB, free: 3.086 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3331, allocations: 4.125 kB / 1.322 GB, free: 3.082 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.3332, allocations: 15.94 kB / 1.322 GB, free: 3.066 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.3334, allocations: 15.98 kB / 1.322 GB, free: 3.051 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.3337, allocations: 190.5 kB / 1.322 GB, free: 2.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.334, allocations: 0.7001 MB / 1.323 GB, free: 2.113 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.3341, allocations: 16.36 kB / 1.323 GB, free: 2.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.3341, allocations: 11.44 kB / 1.323 GB, free: 2.086 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3341, allocations: 0 / 1.323 GB, free: 2.086 MB / 1.014 GB Notification: Performance of Templates: time 0.004235/0.3383, allocations: 1.471 MB / 1.324 GB, free: 0.6406 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.056925260461867]