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.001384/0.001384, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001554/0.001554, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.664/1.664, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.369/3.369, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.052e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.488 MB / 0.8386 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.00234/0.002371, allocations: 0.8414 MB / 0.8784 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.004273, allocations: 1.201 MB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/0.004368, allocations: 3.938 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.004523, allocations: 23.8 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.004585, allocations: 16.89 kB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.005116, allocations: 144.7 kB / 0.8797 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.005411, allocations: 171.6 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.005535, allocations: 29.52 kB / 0.8799 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.005695, allocations: 84.84 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.005813, allocations: 35.89 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.005848, allocations: 12 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.00593, allocations: 33.03 kB / 0.8801 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.005963, allocations: 15.92 kB / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.006046, allocations: 40.58 kB / 0.8801 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.006377, allocations: 191.4 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006379, allocations: 0.5938 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00638, allocations: 0 / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.006386, allocations: 1.281 kB / 0.8803 GB, free: 3.676 MB / 0.8386 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.0006331/0.007019, allocations: 363.5 kB / 0.8807 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.007059, allocations: 12.03 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.007153, allocations: 21.44 kB / 0.8807 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.007448, allocations: 174.8 kB / 0.8809 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.007468, allocations: 4.375 kB / 0.8809 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.007495, allocations: 9.75 kB / 0.8809 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.007672, allocations: 84.75 kB / 0.881 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.007682, allocations: 192 / 0.881 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.007692, allocations: 384 / 0.881 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.007697, allocations: 4.969 kB / 0.881 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.007771, allocations: 31.86 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.00841, allocations: 457.8 kB / 0.8814 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.008492, allocations: 30.58 kB / 0.8815 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.00852, allocations: 12.39 kB / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.008532, allocations: 0 / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.008673, allocations: 75.28 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.008674, allocations: 0 / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002492/0.008923, allocations: 81.62 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.008974, allocations: 51.41 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.009165, allocations: 157.6 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.009198, allocations: 29.7 kB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.009294, allocations: 112.8 kB / 0.882 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.009308, allocations: 7.953 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.009386, allocations: 33.7 kB / 0.882 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002856/0.009672, allocations: 330.8 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.009794, allocations: 69.62 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.009918, allocations: 88.25 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.01007, allocations: 92.33 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.01008, allocations: 4 kB / 0.8826 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003534/0.01043, allocations: 201 kB / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.01048, allocations: 43.97 kB / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01049, allocations: 0 / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.01051, allocations: 4.062 kB / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.01056, allocations: 4 kB / 0.8828 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01057, allocations: 0 / 0.8828 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.01077, allocations: 31.91 kB / 0.8828 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.0108, allocations: 11.98 kB / 0.8828 GB, free: 0.8516 MB / 0.8386 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.0001205/0.01092, allocations: 117.8 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.01094, allocations: 11.95 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.01097, allocations: 8.344 kB / 0.883 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01097, allocations: 8 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.01097, allocations: 0 / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01098, allocations: 3.984 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.01112, allocations: 133.2 kB / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01112, allocations: 0 / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.01114, allocations: 0 / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01114, allocations: 0 / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.01115, allocations: 4 kB / 0.8831 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01115, allocations: 3.938 kB / 0.8831 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01115, allocations: 0 / 0.8831 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.01131, allocations: 109.1 kB / 0.8832 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.01133, allocations: 11.95 kB / 0.8832 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.01134, allocations: 0 / 0.8832 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.509e-05/0.01137, allocations: 4 kB / 0.8832 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.0114, allocations: 3.984 kB / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.0114, allocations: 0 / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001039/0.01151, allocations: 117 kB / 0.8834 GB, free: 268 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.01151, allocations: 4 kB / 0.8834 GB, free: 264 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002274/0.01174, allocations: 23.98 kB / 0.8834 GB, free: 240 kB / 0.8386 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.0001858/0.01192, allocations: 107.2 kB / 0.8835 GB, free: 120 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.01221, allocations: 161 kB / 0.8836 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01221, allocations: 0 / 0.8836 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.01225, allocations: 12 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.01251, allocations: 31.86 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.01297, allocations: 188.2 kB / 0.8839 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.397e-05/0.01306, allocations: 84.44 kB / 0.8839 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.01309, allocations: 4.734 kB / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.01312, allocations: 12.5 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01312, allocations: 0 / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.004997/0.01812, allocations: 1.538 MB / 0.8855 GB, free: 14.08 MB / 0.8542 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: 8.597614650032483]