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.001707/0.001707, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002207/0.002207, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.719/1.719, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.717/2.717, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/3.038e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.002315/0.002345, allocations: 0.836 MB / 0.9518 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.004309, allocations: 1.202 MB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.004405, allocations: 7.938 kB / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.00456, allocations: 23.78 kB / 0.953 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.004623, allocations: 11.88 kB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.005174, allocations: 155 kB / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.005436, allocations: 171.5 kB / 0.9533 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.00557, allocations: 29.56 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.005731, allocations: 91.8 kB / 0.9534 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.005836, allocations: 39.88 kB / 0.9534 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.005873, allocations: 16 kB / 0.9535 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.00595, allocations: 23.98 kB / 0.9535 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.005981, allocations: 15.94 kB / 0.9535 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.006062, allocations: 43.89 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.006395, allocations: 187.4 kB / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.006402, allocations: 4 kB / 0.9537 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006403, allocations: 4 kB / 0.9537 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.006409, allocations: 0 / 0.9537 GB, free: 8.762 MB / 0.8575 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.0007401/0.007149, allocations: 359.5 kB / 0.9541 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.007196, allocations: 8.031 kB / 0.9541 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.042e-05/0.007276, allocations: 16.88 kB / 0.9541 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.007592, allocations: 165.5 kB / 0.9543 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.007615, allocations: 8.375 kB / 0.9543 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.00764, allocations: 8.375 kB / 0.9543 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.007814, allocations: 88.75 kB / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.007825, allocations: 192 / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.007837, allocations: 384 / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.007845, allocations: 8.359 kB / 0.9544 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.007929, allocations: 27.92 kB / 0.9544 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.0085, allocations: 452.8 kB / 0.9548 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.008585, allocations: 34.5 kB / 0.9549 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.008611, allocations: 8.922 kB / 0.9549 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.008623, allocations: 3.938 kB / 0.9549 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.008752, allocations: 67.34 kB / 0.9549 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.008753, allocations: 4 kB / 0.9549 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002347/0.008988, allocations: 81.58 kB / 0.955 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.009041, allocations: 55.39 kB / 0.9551 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.009217, allocations: 156.9 kB / 0.9552 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.009249, allocations: 33.69 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.00934, allocations: 112 kB / 0.9554 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.009356, allocations: 11.88 kB / 0.9554 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.009432, allocations: 37.69 kB / 0.9554 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.009601, allocations: 326.8 kB / 0.9557 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.009716, allocations: 65.69 kB / 0.9558 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.009847, allocations: 96.25 kB / 0.9559 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.00998, allocations: 88.22 kB / 0.9559 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009982, allocations: 0 / 0.9559 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003374/0.01032, allocations: 196.9 kB / 0.9561 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.01036, allocations: 37.7 kB / 0.9562 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01037, allocations: 0 / 0.9562 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.01039, allocations: 7.984 kB / 0.9562 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.01044, allocations: 0 / 0.9562 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01045, allocations: 8.062 kB / 0.9562 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.01065, allocations: 23.97 kB / 0.9562 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.01067, allocations: 8 kB / 0.9562 GB, free: 5.953 MB / 0.8575 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.0001225/0.01079, allocations: 121.8 kB / 0.9563 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.01081, allocations: 15.88 kB / 0.9564 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.01084, allocations: 8.344 kB / 0.9564 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01084, allocations: 4 kB / 0.9564 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01084, allocations: 0 / 0.9564 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01085, allocations: 0 / 0.9564 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.01099, allocations: 145.2 kB / 0.9565 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01099, allocations: 0 / 0.9565 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.01101, allocations: 3.984 kB / 0.9565 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01101, allocations: 0 / 0.9565 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01102, allocations: 4 kB / 0.9565 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01102, allocations: 0 / 0.9565 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01102, allocations: 0 / 0.9565 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.01115, allocations: 89.02 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.01117, allocations: 15.89 kB / 0.9566 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.01119, allocations: 7.922 kB / 0.9566 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.01121, allocations: 0 / 0.9566 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.01126, allocations: 8 kB / 0.9566 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.01127, allocations: 3.938 kB / 0.9566 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001041/0.01137, allocations: 115.2 kB / 0.9567 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01137, allocations: 0 / 0.9567 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002262/0.0116, allocations: 23.94 kB / 0.9568 GB, free: 5.34 MB / 0.8575 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.0001805/0.01178, allocations: 103.5 kB / 0.9569 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.01204, allocations: 153.1 kB / 0.957 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01204, allocations: 0 / 0.957 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.01208, allocations: 24.05 kB / 0.957 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.01233, allocations: 16.02 kB / 0.957 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.01273, allocations: 185.1 kB / 0.9572 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.976e-05/0.01282, allocations: 80.33 kB / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.01285, allocations: 8.719 kB / 0.9573 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.01287, allocations: 16.5 kB / 0.9573 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.01287, allocations: 0 / 0.9573 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of Templates: time 0.004775/0.01765, allocations: 1.514 MB / 0.9588 GB, free: 3.227 MB / 0.8575 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 -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/jenkins/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.07032573223114]