Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001464/0.001464, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001604/0.001604, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.882/2.882, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.185e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.002322/0.002353, allocations: 0.7416 MB / 0.8115 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.004448, allocations: 1.178 MB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.00455, allocations: 5.062 kB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.004711, allocations: 19.8 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.004763, allocations: 13.14 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.0053, allocations: 127.6 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.005588, allocations: 133.2 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.005706, allocations: 15.98 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.005853, allocations: 71.81 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.005959, allocations: 27.89 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.005996, allocations: 12.66 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.006075, allocations: 25.22 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.006101, allocations: 7.938 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.006173, allocations: 27.98 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.006435, allocations: 123.7 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.006442, allocations: 10.42 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006443, allocations: 0 / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.006448, allocations: 0 / 0.8133 GB, free: 15.61 MB / 0.7761 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.0006366/0.007085, allocations: 331.8 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.007132, allocations: 12.02 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.007214, allocations: 12.89 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.007507, allocations: 146.5 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.007525, allocations: 5.406 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.007561, allocations: 20.34 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.007716, allocations: 70.23 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.007726, allocations: 192 / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.007738, allocations: 4.375 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.007744, allocations: 384 / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.007799, allocations: 25.8 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.008394, allocations: 416.8 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/0.008462, allocations: 22.52 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.008483, allocations: 8.859 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.008494, allocations: 0 / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.008632, allocations: 68.97 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.008633, allocations: 0 / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002521/0.008885, allocations: 65.64 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.008942, allocations: 55.41 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.009107, allocations: 135.1 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.009142, allocations: 29.69 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.009251, allocations: 100.1 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.00926, allocations: 0.5312 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.009343, allocations: 30.23 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.009536, allocations: 322.8 kB / 0.8151 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.009655, allocations: 62.66 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.009778, allocations: 80.25 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.009919, allocations: 81.45 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.009924, allocations: 3.938 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000354/0.01028, allocations: 186.3 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.01033, allocations: 37.69 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01033, allocations: 1.156 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.01035, allocations: 4 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.658e-05/0.01037, allocations: 0 / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01038, allocations: 0.9375 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.0106, allocations: 28.77 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.01063, allocations: 12.05 kB / 0.8155 GB, free: 13.03 MB / 0.7761 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.0001261/0.01075, allocations: 118.6 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.01077, allocations: 8 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.0108, allocations: 13.62 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01081, allocations: 0 / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01081, allocations: 0 / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01081, allocations: 4.172 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.01096, allocations: 126.1 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.01096, allocations: 3.938 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-06/0.01097, allocations: 4.891 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01098, allocations: 0 / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.01098, allocations: 1.531 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01098, allocations: 0 / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.01099, allocations: 7.938 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01115, allocations: 85.06 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.01117, allocations: 9.109 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01119, allocations: 4 kB / 0.8159 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.0112, allocations: 0 / 0.8159 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.01124, allocations: 3.984 kB / 0.8159 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01125, allocations: 7.125 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.834e-05/0.01134, allocations: 101.2 kB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01134, allocations: 0 / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002312/0.01157, allocations: 16 kB / 0.816 GB, free: 12.48 MB / 0.7761 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.0001875/0.01176, allocations: 103.2 kB / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.01203, allocations: 137 kB / 0.8163 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01203, allocations: 0.5 kB / 0.8163 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.01207, allocations: 13.33 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01231, allocations: 21.59 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.01275, allocations: 166.6 kB / 0.8164 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.005e-05/0.01284, allocations: 71.98 kB / 0.8165 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.01287, allocations: 6.5 kB / 0.8165 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.0129, allocations: 16.5 kB / 0.8165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.0129, allocations: 0 / 0.8165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of Templates: time 0.004824/0.01772, allocations: 1.2 MB / 0.8177 GB, free: 10.75 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.8037037620088086]