Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.001232/0.001232, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001821/0.003053, allocations: 435.8 kB / 10.33 MB, free: 368 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.001069/0.001069, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002476, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9925/0.9925, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.094, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.454/2.454, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2292/2.684, allocations: 145.9 MB / 0.817 GB, free: 4.215 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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.125e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002287/0.002309, allocations: 0.8039 MB / 0.8191 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.003839, allocations: 1.201 MB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.003902, allocations: 4 kB / 0.8202 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.985e-05/0.004002, allocations: 23.73 kB / 0.8203 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.004039, allocations: 15.86 kB / 0.8203 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.00442, allocations: 127.6 kB / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.004631, allocations: 127.7 kB / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.004724, allocations: 23.78 kB / 0.8205 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.00485, allocations: 75.88 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.004955, allocations: 27.89 kB / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.004987, allocations: 12 kB / 0.8207 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.519e-05/0.005072, allocations: 27.97 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.005092, allocations: 7.938 kB / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.005137, allocations: 20 kB / 0.8207 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.00531, allocations: 67.81 kB / 0.8208 GB, free: 356 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.888e-05/0.005329, allocations: 8 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00533, allocations: 0 / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.005348, allocations: 0 / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000475/0.005822, allocations: 322.1 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 8.254e-05/0.005905, allocations: 8.625 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.005953, allocations: 20.75 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.006163, allocations: 149.6 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.006178, allocations: 4.375 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.006196, allocations: 8.375 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.006301, allocations: 60.83 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006309, allocations: 192 / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.006319, allocations: 8.359 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.006325, allocations: 4.312 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.006351, allocations: 19.91 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.006669, allocations: 336.6 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.006712, allocations: 22.56 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.029e-05/0.006723, allocations: 4.859 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.006728, allocations: 4.062 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.006847, allocations: 67.27 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.006849, allocations: 0 / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001306/0.006979, allocations: 45.69 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.007017, allocations: 55.39 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.007114, allocations: 134.6 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.007133, allocations: 29.7 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.007182, allocations: 96.08 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.007192, allocations: 7.922 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.007255, allocations: 37.62 kB / 0.8222 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.007351, allocations: 318.8 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.007418, allocations: 45.69 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.007483, allocations: 76.25 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.007557, allocations: 68.25 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007559, allocations: 0 / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001726/0.007732, allocations: 156.9 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.007777, allocations: 37.7 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.007783, allocations: 0 / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.007794, allocations: 0 / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-05/0.007814, allocations: 7.984 kB / 0.8228 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007817, allocations: 4.094 kB / 0.8228 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.007966, allocations: 23.94 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.007984, allocations: 4 kB / 0.8229 GB, free: 13.96 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.742e-05/0.008061, allocations: 113.8 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.008074, allocations: 11.88 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.008102, allocations: 12.34 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008104, allocations: 0 / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008106, allocations: 0 / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008109, allocations: 0 / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.421e-05/0.008193, allocations: 77.88 kB / 0.8231 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008195, allocations: 0 / 0.8231 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-06/0.008204, allocations: 12.05 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.008215, allocations: 3.953 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.008217, allocations: 3.938 kB / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.008221, allocations: 4 kB / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008222, allocations: 3.938 kB / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008223, allocations: 0 / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.845e-05/0.008302, allocations: 69.34 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.008315, allocations: 7.922 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.008331, allocations: 4 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.00835, allocations: 4 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008353, allocations: 0 / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.008382, allocations: 27.36 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008382, allocations: 0 / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002003/0.008583, allocations: 16 kB / 0.8232 GB, free: 13.55 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001479/0.00873, allocations: 92.34 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.008896, allocations: 129.9 kB / 0.8234 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.008902, allocations: 4 kB / 0.8234 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.008921, allocations: 13.03 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.009052, allocations: 19.98 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.009601, allocations: 153 kB / 0.8236 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.009642, allocations: 69.86 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.5e-05/0.009667, allocations: 4 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.009754, allocations: 63.36 kB / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of SimCode: time 8.71e-07/0.009755, allocations: 0 / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.003868/0.01362, allocations: 1.337 MB / 0.8251 GB, free: 11.63 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.327641550451517]