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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 84.44 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 154.5 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.84 kB / 0.9515 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4157, allocations: 169.9 MB / 1.117 GB, free: 2.637 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002407/0.4181, allocations: 0.8308 MB / 1.118 GB, free: 1.809 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.4199, allocations: 1.206 MB / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.4199, allocations: 0 / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.4201, allocations: 27.73 kB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.4201, allocations: 15.86 kB / 1.119 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.4206, allocations: 147 kB / 1.12 GB, free: 416 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.4209, allocations: 167.6 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.421, allocations: 25.58 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.563e-05/0.4211, allocations: 59.83 kB / 1.12 GB, free: 160 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4212, allocations: 51.7 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.4212, allocations: 16 kB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.4213, allocations: 27.98 kB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.4213, allocations: 11.94 kB / 1.12 GB, free: 52 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.859e-05/0.4214, allocations: 55.81 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.4217, allocations: 163.4 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.4217, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4217, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4217, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 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.0005948/0.4223, allocations: 371.4 kB / 1.121 GB, free: 15.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.4223, allocations: 15.97 kB / 1.121 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.4224, allocations: 16.84 kB / 1.121 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.4226, allocations: 158.3 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4227, allocations: 8.375 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.4227, allocations: 4.375 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4229, allocations: 84.75 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4229, allocations: 4.125 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.4229, allocations: 7.938 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4229, allocations: 4 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.423, allocations: 27.98 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.4235, allocations: 456.7 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.4236, allocations: 34.5 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.4236, allocations: 12.92 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.4236, allocations: 0 / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.4237, allocations: 67.34 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4237, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002234/0.424, allocations: 81.62 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.424, allocations: 55.34 kB / 1.122 GB, free: 14.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.4242, allocations: 160.8 kB / 1.122 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.4242, allocations: 29.7 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.4243, allocations: 116 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.4243, allocations: 3.953 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.4244, allocations: 29.7 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4245, allocations: 330.8 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4247, allocations: 65.69 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4248, allocations: 92.25 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.4249, allocations: 92.2 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4249, allocations: 4 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003286/0.4252, allocations: 193 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.4253, allocations: 41.69 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4253, allocations: 0 / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4253, allocations: 4 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.4254, allocations: 0 / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4254, allocations: 4 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.4256, allocations: 31.97 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.4256, allocations: 15.98 kB / 1.123 GB, free: 13.01 MB / 1.076 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.000116/0.4257, allocations: 121.8 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.4257, allocations: 7.953 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.4258, allocations: 8.281 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4258, allocations: 4 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4258, allocations: 3.938 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4258, allocations: 3.984 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.4259, allocations: 137.2 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4259, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.4259, allocations: 3.938 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4259, allocations: 4 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4259, allocations: 8 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4259, allocations: 0 / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4259, allocations: 0 / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.4261, allocations: 96.95 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.4261, allocations: 11.95 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.4261, allocations: 0 / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.4261, allocations: 0 / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4262, allocations: 7.984 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4262, allocations: 0 / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.613e-05/0.4263, allocations: 114.3 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4263, allocations: 4 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002303/0.4265, allocations: 23.98 kB / 1.123 GB, free: 12.4 MB / 1.076 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.0001464/0.4267, allocations: 111.1 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.4269, allocations: 153.1 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4269, allocations: 4 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.427, allocations: 12.31 kB / 1.123 GB, free: 12.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.4272, allocations: 26.34 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.4276, allocations: 186.6 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.663e-05/0.4277, allocations: 92.25 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.4277, allocations: 8.719 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.4277, allocations: 12.5 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.4277, allocations: 0 / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of Templates: time 0.004782/0.4325, allocations: 1.516 MB / 1.125 GB, free: 10.26 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.707942398032174]