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.001451/0.001451, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001535/0.001535, allocations: 194.7 kB / 22.17 MB, free: 5.652 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.33/1.33, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 497.2 MB / 0.7845 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001816/0.001816, allocations: 69.34 kB / 1.139 GB, free: 33.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3034, allocations: 173.9 MB / 1.309 GB, free: 36 kB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002169/0.3056, allocations: 0.8674 MB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3071, allocations: 1.182 MB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.3072, allocations: 7.938 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.3073, allocations: 19.8 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.3074, allocations: 23.84 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.3078, allocations: 149.8 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.308, allocations: 167.6 kB / 1.312 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3081, allocations: 33.31 kB / 1.312 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.3082, allocations: 55.78 kB / 1.312 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.3083, allocations: 51.77 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.3084, allocations: 20 kB / 1.312 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.3084, allocations: 27.98 kB / 1.312 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.3085, allocations: 19.91 kB / 1.312 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.351e-05/0.3085, allocations: 59.73 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3088, allocations: 171.4 kB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3088, allocations: 0 / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3088, allocations: 0 / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3088, allocations: 0 / 1.312 GB, free: 13.17 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.0005798/0.3094, allocations: 436.6 kB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3094, allocations: 12.62 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.3094, allocations: 20.84 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.3097, allocations: 210.5 kB / 1.313 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3097, allocations: 8.375 kB / 1.313 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3098, allocations: 12.36 kB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.3099, allocations: 84.75 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3099, allocations: 192 / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3099, allocations: 15.92 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3099, allocations: 0 / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/0.31, allocations: 27.94 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.3106, allocations: 0.5322 MB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.3106, allocations: 38.45 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.3107, allocations: 12.92 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.3107, allocations: 0 / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.3108, allocations: 63.33 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3108, allocations: 4 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002204/0.311, allocations: 81.56 kB / 1.314 GB, free: 11.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.3111, allocations: 51.41 kB / 1.314 GB, free: 11.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3112, allocations: 180.9 kB / 1.314 GB, free: 11.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.3113, allocations: 29.7 kB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.3113, allocations: 108.1 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.3114, allocations: 7.953 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.3114, allocations: 33.69 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3116, allocations: 318.8 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.3117, allocations: 39.97 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.3117, allocations: 58.56 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3119, allocations: 96.27 kB / 1.314 GB, free: 10.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3119, allocations: 0 / 1.314 GB, free: 10.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002836/0.3122, allocations: 171.2 kB / 1.315 GB, free: 10.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.3122, allocations: 41.69 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3122, allocations: 0 / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3122, allocations: 0 / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.3123, allocations: 8.062 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3123, allocations: 0 / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3125, allocations: 31.84 kB / 1.315 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.3125, allocations: 4 kB / 1.315 GB, free: 10.19 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 0.000111/0.3126, allocations: 133.8 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.3126, allocations: 7.953 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.3127, allocations: 8.938 kB / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3127, allocations: 4 kB / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3127, allocations: 0 / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3127, allocations: 7.938 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3129, allocations: 197.6 kB / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3129, allocations: 0 / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.3129, allocations: 3.938 kB / 1.315 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3129, allocations: 0 / 1.315 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.3129, allocations: 4 kB / 1.315 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3129, allocations: 3.984 kB / 1.315 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3129, allocations: 0 / 1.315 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.313, allocations: 101 kB / 1.315 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.3131, allocations: 85.34 kB / 1.315 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3131, allocations: 0 / 1.315 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.522e-05/0.3131, allocations: 7.984 kB / 1.315 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.3131, allocations: 11.86 kB / 1.315 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3131, allocations: 4 kB / 1.315 GB, free: 9.523 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.503e-05/0.3132, allocations: 120 kB / 1.315 GB, free: 9.406 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3132, allocations: 0 / 1.315 GB, free: 9.406 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002135/0.3134, allocations: 31.95 kB / 1.315 GB, free: 9.375 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.0001627/0.3136, allocations: 107.2 kB / 1.315 GB, free: 9.262 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3138, allocations: 119.4 kB / 1.316 GB, free: 9.133 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3138, allocations: 0 / 1.316 GB, free: 9.133 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.3139, allocations: 15.94 kB / 1.316 GB, free: 9.117 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3141, allocations: 19.98 kB / 1.316 GB, free: 9.098 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.3145, allocations: 198.5 kB / 1.316 GB, free: 8.879 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3148, allocations: 0.704 MB / 1.316 GB, free: 8.148 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.3148, allocations: 12.41 kB / 1.316 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.3149, allocations: 11.44 kB / 1.316 GB, free: 8.125 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3149, allocations: 0 / 1.316 GB, free: 8.125 MB / 1.014 GB Notification: Performance of Templates: time 0.004233/0.3191, allocations: 1.468 MB / 1.318 GB, free: 6.684 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.798999590333551]