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.001875/0.001875, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002571/0.002571, allocations: 159.9 kB / 23.01 MB, free: 4.602 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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 2.888/2.888, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002142/0.002142, allocations: 71.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9435/0.9456, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 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.001929/0.9475, allocations: 0.8358 MB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.9488, allocations: 1.184 MB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.9489, allocations: 7.25 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.949, allocations: 18.41 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.949, allocations: 21.09 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.9495, allocations: 145.8 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.9497, allocations: 167.5 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.9498, allocations: 35.5 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.9499, allocations: 65.27 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.95, allocations: 52.92 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.95, allocations: 14.06 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.9501, allocations: 22.97 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.9501, allocations: 17.72 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.9502, allocations: 48.2 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.9505, allocations: 173.4 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9505, allocations: 1.062 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9505, allocations: 0.6094 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.9505, allocations: 0 / 1.189 GB, free: 14.45 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.0004716/0.951, allocations: 360.8 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.951, allocations: 14 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.9511, allocations: 11.73 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.9513, allocations: 164.9 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.9513, allocations: 8.172 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.9514, allocations: 11.62 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.9515, allocations: 83.34 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9515, allocations: 1.281 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.9515, allocations: 4.688 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9515, allocations: 2.25 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.9516, allocations: 30.98 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.9519, allocations: 460.9 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.952, allocations: 34.39 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.952, allocations: 13.53 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.952, allocations: 0.75 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.9521, allocations: 65.3 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.9521, allocations: 1.125 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001996/0.9523, allocations: 79.97 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.9524, allocations: 57.66 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.9525, allocations: 165.7 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.9525, allocations: 27.89 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.9526, allocations: 109.9 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.9526, allocations: 9.75 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.9527, allocations: 36.62 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.9527, allocations: 325.5 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/0.9528, allocations: 65.8 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.9529, allocations: 90.55 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.953, allocations: 96.14 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.953, allocations: 0 / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002573/0.9533, allocations: 201.2 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.9533, allocations: 35.12 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9533, allocations: 3.938 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.9533, allocations: 1.094 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.9534, allocations: 3.984 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9534, allocations: 1.828 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.9536, allocations: 35.45 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.9536, allocations: 14.58 kB / 1.192 GB, free: 12.2 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 6.257e-05/0.9536, allocations: 122.3 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.9537, allocations: 8.562 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.9537, allocations: 12.16 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.9537, allocations: 1.312 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.9537, allocations: 0 / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.9537, allocations: 2.25 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.951e-05/0.9538, allocations: 132.6 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9538, allocations: 0.7031 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.9538, allocations: 6.062 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.9538, allocations: 1.406 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.9538, allocations: 0.7031 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.9538, allocations: 5.344 kB / 1.192 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9538, allocations: 0 / 1.192 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.9539, allocations: 99.56 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.9539, allocations: 8.359 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.9539, allocations: 5.75 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.954, allocations: 0 / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.954, allocations: 4.672 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.954, allocations: 5.125 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.954, allocations: 115.4 kB / 1.192 GB, free: 11.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.954, allocations: 0 / 1.192 GB, free: 11.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002247/0.9543, allocations: 27.08 kB / 1.192 GB, free: 11.72 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 9.762e-05/0.9544, allocations: 106.4 kB / 1.192 GB, free: 11.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.9546, allocations: 156.7 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9546, allocations: 0 / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.9546, allocations: 14.22 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.9548, allocations: 26.7 kB / 1.193 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.9551, allocations: 188.9 kB / 1.193 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.526e-05/0.9552, allocations: 85.38 kB / 1.193 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.9552, allocations: 10.95 kB / 1.193 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.9552, allocations: 13 kB / 1.193 GB, free: 11.25 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9552, allocations: 0 / 1.193 GB, free: 11.25 MB / 1.076 GB Notification: Performance of Templates: time 0.004477/0.9597, allocations: 1.524 MB / 1.194 GB, free: 11.05 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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/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.86626816203352]