Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.001716/0.001716, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002018/0.002018, allocations: 200.5 kB / 22.17 MB, free: 5.211 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.465/1.465, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8368, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.002349/0.8392, allocations: 0.745 MB / 1.275 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.8409, allocations: 1.16 MB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.841, allocations: 0 / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.8412, allocations: 23.8 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.8412, allocations: 7.922 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.8418, allocations: 146.9 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.8421, allocations: 131.7 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.8422, allocations: 16 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.8423, allocations: 43.89 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.8424, allocations: 43.83 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.8424, allocations: 8 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.8425, allocations: 23.98 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.8425, allocations: 15.86 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.8426, allocations: 43.78 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.8428, allocations: 114.3 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8428, allocations: 0 / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8428, allocations: 0 / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.8428, allocations: 0 / 1.276 GB, free: 2.039 MB / 0.9669 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.0006269/0.8434, allocations: 416.8 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8435, allocations: 12.03 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.8436, allocations: 12.84 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.8438, allocations: 196.3 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.8439, allocations: 8.375 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.8439, allocations: 4.375 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.844, allocations: 80.73 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.844, allocations: 4.188 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.844, allocations: 3.938 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.844, allocations: 0 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.8441, allocations: 23.92 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.8446, allocations: 493 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.8447, allocations: 30.45 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.8447, allocations: 4.859 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.8447, allocations: 4.062 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.8448, allocations: 59.34 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.8448, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002198/0.8451, allocations: 69.58 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.8451, allocations: 55.41 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.8453, allocations: 155.6 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.8453, allocations: 33.64 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.8454, allocations: 96.12 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.8454, allocations: 11.95 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.8455, allocations: 29.7 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.8456, allocations: 318.8 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.8457, allocations: 27.98 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.8458, allocations: 46.56 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.8459, allocations: 84.2 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8459, allocations: 0 / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002741/0.8462, allocations: 151.2 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.8462, allocations: 37.78 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8462, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8463, allocations: 240 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.762e-05/0.8463, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.8463, allocations: 11.92 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.8465, allocations: 31.86 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.8465, allocations: 8 kB / 1.279 GB, free: 15.28 MB / 0.9825 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 0.0001126/0.8466, allocations: 113.8 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.8467, allocations: 19.92 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.8467, allocations: 12.19 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8467, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.8467, allocations: 3.938 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8467, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.8469, allocations: 181.7 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8469, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-06/0.8469, allocations: 4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.8469, allocations: 4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.8469, allocations: 3.938 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8469, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8469, allocations: 7.938 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.847, allocations: 81.08 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.8471, allocations: 85.05 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.8471, allocations: 4 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.8471, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.8472, allocations: 3.938 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.8472, allocations: 4 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001038/0.8473, allocations: 122.2 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8473, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002212/0.8475, allocations: 16 kB / 1.28 GB, free: 14.54 MB / 0.9825 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.0001726/0.8477, allocations: 103.8 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.8479, allocations: 107.4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8479, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/0.8479, allocations: 11.88 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.8482, allocations: 16.19 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.8485, allocations: 178.5 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.8489, allocations: 0.6885 MB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.8489, allocations: 7.984 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.8489, allocations: 11.44 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.8489, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.004295/0.8532, allocations: 1.16 MB / 1.282 GB, free: 12.2 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.678507100790739]