Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001323/0.001323, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001908/0.003231, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001355/0.001355, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002824, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.084/1.084, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0855/1.169, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.358/2.358, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2454/2.603, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.147e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.001731/0.001763, allocations: 0.9648 MB / 0.8199 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003058, allocations: 1.236 MB / 0.8211 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.003149, allocations: 3.938 kB / 0.8211 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.599e-05/0.003235, allocations: 27.73 kB / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.003278, allocations: 15.86 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.003604, allocations: 139.6 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.003801, allocations: 167.6 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.003889, allocations: 34.19 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.004003, allocations: 95.86 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.004093, allocations: 43.81 kB / 0.8216 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.004117, allocations: 16 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.448e-05/0.004191, allocations: 31.92 kB / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.004216, allocations: 11.94 kB / 0.8216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.004258, allocations: 31.94 kB / 0.8217 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.004409, allocations: 99.73 kB / 0.8218 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.004421, allocations: 0 / 0.8218 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004422, allocations: 0 / 0.8218 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.004434, allocations: 0 / 0.8218 GB, free: 15.59 MB / 0.8073 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.0004523/0.004887, allocations: 361.8 kB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.004917, allocations: 8.031 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.004958, allocations: 12.92 kB / 0.8221 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.00513, allocations: 153.5 kB / 0.8223 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.005146, allocations: 12.31 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005165, allocations: 8.375 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.183e-05/0.005257, allocations: 77.52 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.005264, allocations: 192 / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.005272, allocations: 8.359 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005278, allocations: 8.375 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.005304, allocations: 19.86 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.005585, allocations: 360.6 kB / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/0.005629, allocations: 30.56 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.106e-05/0.00564, allocations: 8.797 kB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.005647, allocations: 4.062 kB / 0.8228 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.617e-05/0.005723, allocations: 55.33 kB / 0.8228 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.005724, allocations: 0 / 0.8228 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001127/0.005836, allocations: 53.67 kB / 0.8229 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.00587, allocations: 63.41 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.005953, allocations: 149.2 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.005967, allocations: 29.7 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.006018, allocations: 108 kB / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.00603, allocations: 3.953 kB / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.006076, allocations: 33.69 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.006152, allocations: 318.8 kB / 0.8236 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.006198, allocations: 49.69 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.006245, allocations: 72.2 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.006306, allocations: 84.23 kB / 0.8238 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006308, allocations: 0 / 0.8238 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001201/0.006428, allocations: 160.9 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.00646, allocations: 37.69 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006464, allocations: 64 / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.006476, allocations: 11.94 kB / 0.824 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.094e-05/0.006516, allocations: 7.938 kB / 0.824 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006519, allocations: 0 / 0.824 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.006615, allocations: 20 kB / 0.824 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.006627, allocations: 11.98 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.102e-05/0.006688, allocations: 117.8 kB / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.006697, allocations: 7.938 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.00672, allocations: 12.33 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006722, allocations: 0 / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.006724, allocations: 0 / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006727, allocations: 0 / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.184e-05/0.006799, allocations: 89.86 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006799, allocations: 0 / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.00681, allocations: 0 / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.006823, allocations: 19.88 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006824, allocations: 0 / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.006828, allocations: 0 / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006829, allocations: 0 / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00683, allocations: 4 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.114e-05/0.006891, allocations: 73.28 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.006905, allocations: 3.938 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/0.006918, allocations: 0 / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.006938, allocations: 4.047 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.006942, allocations: 7.984 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.006971, allocations: 34.64 kB / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006971, allocations: 4 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001216/0.007093, allocations: 23.94 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001004/0.007193, allocations: 88.41 kB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.007321, allocations: 141.8 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.007325, allocations: 0 / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.007345, allocations: 12.86 kB / 0.8246 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.007496, allocations: 145.3 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.007917, allocations: 196 kB / 0.8249 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.007948, allocations: 59.34 kB / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.007969, allocations: 8.734 kB / 0.825 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.008041, allocations: 71.34 kB / 0.8251 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.008042, allocations: 0 / 0.8251 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.003061/0.0111, allocations: 1.684 MB / 0.8267 GB, free: 10.16 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.300482662394643]