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.001803/0.001803, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001613/0.001613, allocations: 217.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 179] 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 2.933/2.933, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 68.28 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3003, allocations: 180.2 MB / 1.354 GB, free: 8.02 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.001917/0.3022, allocations: 0.7601 MB / 1.355 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3037, allocations: 1.186 MB / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.3037, allocations: 3.938 kB / 1.356 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.3039, allocations: 23.8 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.3039, allocations: 3.938 kB / 1.356 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.3043, allocations: 142.6 kB / 1.356 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3045, allocations: 127.7 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.3046, allocations: 23.92 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.3047, allocations: 47.84 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.312e-05/0.3048, allocations: 43.81 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3048, allocations: 12 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.994e-05/0.3048, allocations: 20 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.3049, allocations: 15.92 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.3049, allocations: 43.8 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3051, allocations: 111.6 kB / 1.357 GB, free: 5.457 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3051, allocations: 0 / 1.357 GB, free: 5.457 MB / 1.045 GB Notification: Performance of FrontEnd: time 7.82e-07/0.3051, allocations: 0 / 1.357 GB, free: 5.457 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3051, allocations: 0 / 1.357 GB, free: 5.457 MB / 1.045 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.0004452/0.3056, allocations: 335.8 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.3056, allocations: 12.03 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.3056, allocations: 12.83 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.3059, allocations: 146.4 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3059, allocations: 8.375 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3059, allocations: 8.375 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.306, allocations: 72.75 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.306, allocations: 4.188 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.306, allocations: 3.938 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.306, allocations: 0 / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.3061, allocations: 19.94 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.3065, allocations: 464.1 kB / 1.358 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.868e-05/0.3066, allocations: 30.52 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.3066, allocations: 8.922 kB / 1.358 GB, free: 4.215 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.3066, allocations: 0 / 1.358 GB, free: 4.215 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.3067, allocations: 55.39 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3067, allocations: 0 / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001679/0.3069, allocations: 69.58 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3069, allocations: 63.38 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3071, allocations: 155.4 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3071, allocations: 29.64 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.3072, allocations: 96.12 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.3072, allocations: 7.953 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.3072, allocations: 33.7 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3074, allocations: 314.8 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.3074, allocations: 31.98 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.3075, allocations: 47.12 kB / 1.359 GB, free: 3.258 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.3076, allocations: 84.44 kB / 1.359 GB, free: 3.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3076, allocations: 0 / 1.359 GB, free: 3.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002456/0.3079, allocations: 155.2 kB / 1.359 GB, free: 2.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.3079, allocations: 37.69 kB / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3079, allocations: 0 / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3079, allocations: 0 / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.415e-05/0.3079, allocations: 8.094 kB / 1.359 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3079, allocations: 3.938 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.3081, allocations: 23.97 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3081, allocations: 8 kB / 1.359 GB, free: 2.91 MB / 1.045 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.0001028/0.3082, allocations: 125.7 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.3083, allocations: 12.02 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.3083, allocations: 12.28 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3083, allocations: 4 kB / 1.359 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3083, allocations: 3.938 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3083, allocations: 4 kB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.3084, allocations: 140.7 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3084, allocations: 4 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-06/0.3084, allocations: 0 / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3084, allocations: 0 / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3084, allocations: 4 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3084, allocations: 0 / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3084, allocations: 3.938 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.3085, allocations: 89.03 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.3086, allocations: 11.94 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3086, allocations: 0 / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.3086, allocations: 0 / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.3086, allocations: 7.938 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3086, allocations: 0 / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.18e-05/0.3087, allocations: 118 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 4 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002002/0.3089, allocations: 23.94 kB / 1.359 GB, free: 2.281 MB / 1.045 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.0001301/0.309, allocations: 99.23 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3092, allocations: 103.4 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3092, allocations: 0 / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.3092, allocations: 19.88 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.3095, allocations: 7.984 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.3098, allocations: 192.6 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3101, allocations: 0.6885 MB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.3101, allocations: 15.42 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3101, allocations: 0 / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of Templates: time 0.002711/0.3128, allocations: 1.15 MB / 1.362 GB, free: 15.93 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.933256798016373]