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.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.0008273/0.0008273, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008172/0.0008172, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8543/0.8543, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.726/1.726, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.354e-06/2.354e-06, allocations: 0 / 1.001 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.566e-05, allocations: 2.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.001632/0.001657, allocations: 0.8414 MB / 1.002 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.002855, allocations: 1.194 MB / 1.003 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.002929, allocations: 7.938 kB / 1.003 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.003053, allocations: 19.8 kB / 1.003 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.003095, allocations: 23.81 kB / 1.003 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.003499, allocations: 139.6 kB / 1.003 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.003683, allocations: 171.6 kB / 1.003 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003788, allocations: 29.31 kB / 1.003 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.003883, allocations: 87.8 kB / 1.003 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.003965, allocations: 39.89 kB / 1.003 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.003987, allocations: 16 kB / 1.003 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/0.004045, allocations: 31.91 kB / 1.003 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.004066, allocations: 11.94 kB / 1.003 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.004117, allocations: 43.91 kB / 1.003 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.004328, allocations: 191.5 kB / 1.004 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004331, allocations: 0 / 1.004 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004332, allocations: 0 / 1.004 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.004337, allocations: 3.938 kB / 1.004 GB, free: 9.047 MB / 0.9167 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.0004662/0.004803, allocations: 359.5 kB / 1.004 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.004841, allocations: 12.73 kB / 1.004 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.004889, allocations: 12.89 kB / 1.004 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.005094, allocations: 173.5 kB / 1.004 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.00511, allocations: 4.375 kB / 1.004 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.005127, allocations: 8.375 kB / 1.004 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.005243, allocations: 88.73 kB / 1.004 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.005251, allocations: 4.125 kB / 1.004 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.005261, allocations: 4.375 kB / 1.004 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005265, allocations: 384 / 1.004 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.005315, allocations: 27.92 kB / 1.004 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.005694, allocations: 448.8 kB / 1.005 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.029e-05/0.005754, allocations: 34.5 kB / 1.005 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.005774, allocations: 16.92 kB / 1.005 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.005783, allocations: 0 / 1.005 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.439e-05/0.005877, allocations: 71.39 kB / 1.005 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.005878, allocations: 0 / 1.005 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001777/0.006056, allocations: 73.64 kB / 1.005 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.006087, allocations: 63.27 kB / 1.005 GB, free: 7.516 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.006188, allocations: 160.6 kB / 1.005 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.006206, allocations: 33.69 kB / 1.005 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.006256, allocations: 104.1 kB / 1.005 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/0.006265, allocations: 7.891 kB / 1.005 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.006314, allocations: 41.69 kB / 1.005 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.006392, allocations: 326.8 kB / 1.006 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.006463, allocations: 65.69 kB / 1.006 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.006531, allocations: 88.25 kB / 1.006 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.006611, allocations: 92.22 kB / 1.006 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.006613, allocations: 3.984 kB / 1.006 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001961/0.006809, allocations: 197 kB / 1.006 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.006839, allocations: 35.73 kB / 1.006 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.006845, allocations: 12.05 kB / 1.006 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.006857, allocations: 0 / 1.006 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.006904, allocations: 4 kB / 1.006 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006908, allocations: 0 / 1.006 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.007026, allocations: 31.86 kB / 1.006 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.00704, allocations: 4 kB / 1.006 GB, free: 6.238 MB / 0.9167 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 7.176e-05/0.007111, allocations: 125.8 kB / 1.006 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.007123, allocations: 15.88 kB / 1.006 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.007145, allocations: 12.34 kB / 1.006 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007146, allocations: 0 / 1.006 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.00715, allocations: 0 / 1.006 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.007153, allocations: 0 / 1.006 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.316e-05/0.007236, allocations: 137.2 kB / 1.006 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007237, allocations: 0 / 1.006 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.007248, allocations: 7.922 kB / 1.006 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.007251, allocations: 4 kB / 1.006 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.007256, allocations: 0 / 1.006 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.007259, allocations: 4.062 kB / 1.006 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00726, allocations: 0 / 1.006 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.007347, allocations: 93.02 kB / 1.007 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.007359, allocations: 12.23 kB / 1.007 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.00737, allocations: 3.984 kB / 1.007 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.007386, allocations: 4 kB / 1.007 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.007407, allocations: 7.984 kB / 1.007 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.00741, allocations: 0 / 1.007 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.007468, allocations: 117.7 kB / 1.007 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007468, allocations: 0 / 1.007 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001614/0.007629, allocations: 23.95 kB / 1.007 GB, free: 5.621 MB / 0.9167 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.0001197/0.007749, allocations: 111.1 kB / 1.007 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.007919, allocations: 157 kB / 1.007 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.007921, allocations: 0 / 1.007 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.007949, allocations: 19.92 kB / 1.007 GB, free: 5.309 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.008125, allocations: 22.25 kB / 1.007 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.008419, allocations: 214.5 kB / 1.007 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.048e-05/0.008469, allocations: 85.38 kB / 1.007 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.008487, allocations: 12.5 kB / 1.007 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of SimCode: time 2.7e-07/0.008488, allocations: 0 / 1.007 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of Templates: time 0.002131/0.01062, allocations: 1.43 MB / 1.009 GB, free: 3.508 MB / 0.9167 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: 6.495167752727866]