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.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.001776/0.001776, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00222/0.00222, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.72/1.72, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.979/2.979, allocations: 476 MB / 0.7699 GB, free: 4.797 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002213/0.002213, allocations: 68.86 kB / 1.117 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3689, allocations: 169.9 MB / 1.283 GB, free: 3.773 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002164/0.371, allocations: 0.7452 MB / 1.284 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3726, allocations: 1.164 MB / 1.285 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.3726, allocations: 4 kB / 1.285 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.3728, allocations: 23.8 kB / 1.285 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.3728, allocations: 7.922 kB / 1.285 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.3733, allocations: 136.2 kB / 1.285 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3735, allocations: 123.7 kB / 1.285 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3736, allocations: 19.92 kB / 1.285 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.3737, allocations: 51.83 kB / 1.285 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.3738, allocations: 43.83 kB / 1.285 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.3738, allocations: 8 kB / 1.285 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.3739, allocations: 20 kB / 1.285 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.3739, allocations: 7.922 kB / 1.285 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3739, allocations: 39.84 kB / 1.285 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.3741, allocations: 111.6 kB / 1.285 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3741, allocations: 0 / 1.285 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.31e-07/0.3741, allocations: 0 / 1.285 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3741, allocations: 7.875 kB / 1.285 GB, free: 1.266 MB / 0.9825 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.0005433/0.3747, allocations: 343.7 kB / 1.286 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3747, allocations: 8.031 kB / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.3748, allocations: 12.89 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.375, allocations: 146.4 kB / 1.286 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3751, allocations: 4.375 kB / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.3751, allocations: 8.375 kB / 1.286 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3752, allocations: 72.81 kB / 1.286 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3752, allocations: 192 / 1.286 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3752, allocations: 3.938 kB / 1.286 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3752, allocations: 4 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.3753, allocations: 19.92 kB / 1.286 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.3757, allocations: 424.7 kB / 1.286 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/0.3758, allocations: 22.56 kB / 1.286 GB, free: 96 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.3758, allocations: 12.92 kB / 1.286 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-06/0.3758, allocations: 0 / 1.286 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.3759, allocations: 63.28 kB / 1.287 GB, free: 4 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3759, allocations: 4 kB / 1.287 GB, free: 0 / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002057/0.3761, allocations: 57.69 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.3762, allocations: 59.39 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3763, allocations: 140.5 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3763, allocations: 29.7 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.3764, allocations: 100.1 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.3764, allocations: 3.953 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.3765, allocations: 33.69 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3766, allocations: 322.8 kB / 1.287 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3767, allocations: 61.67 kB / 1.287 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.3768, allocations: 76.27 kB / 1.287 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.377, allocations: 84.2 kB / 1.287 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.377, allocations: 0 / 1.287 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002746/0.3772, allocations: 184.9 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.3773, allocations: 37.69 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3773, allocations: 4 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3773, allocations: 0 / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.816e-05/0.3773, allocations: 0 / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3773, allocations: 11.88 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.3775, allocations: 23.97 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.3776, allocations: 7.984 kB / 1.288 GB, free: 14.67 MB / 0.9981 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.0001033/0.3777, allocations: 121.9 kB / 1.288 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.3777, allocations: 7.953 kB / 1.288 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.3777, allocations: 8.344 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3777, allocations: 0 / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3777, allocations: 3.938 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3777, allocations: 3.984 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3778, allocations: 121.2 kB / 1.288 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3778, allocations: 0 / 1.288 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.3778, allocations: 4.062 kB / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3778, allocations: 0 / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3778, allocations: 0 / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3778, allocations: 4 kB / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3779, allocations: 3.984 kB / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.378, allocations: 96.95 kB / 1.288 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.378, allocations: 288 / 1.288 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.378, allocations: 0 / 1.288 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.772e-05/0.378, allocations: 4 kB / 1.288 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.378, allocations: 7.969 kB / 1.288 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.378, allocations: 0 / 1.288 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.115e-05/0.3781, allocations: 99.27 kB / 1.288 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3781, allocations: 4 kB / 1.288 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002177/0.3783, allocations: 23.89 kB / 1.288 GB, free: 14.11 MB / 0.9981 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.0001465/0.3785, allocations: 105.7 kB / 1.288 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3787, allocations: 141 kB / 1.288 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3787, allocations: 0 / 1.288 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.3788, allocations: 8 kB / 1.288 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.379, allocations: 15.92 kB / 1.288 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.3793, allocations: 154.8 kB / 1.289 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.3794, allocations: 79.52 kB / 1.289 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.3794, allocations: 0 / 1.289 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.3794, allocations: 11.44 kB / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3794, allocations: 0 / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.004185/0.3836, allocations: 1.215 MB / 1.29 GB, free: 12.34 MB / 0.9981 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.494284804910421]