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.001607/0.001607, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001644/0.001644, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.529/1.529, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.348/3.348, allocations: 0.49 GB / 0.7915 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002172/0.002172, allocations: 68.08 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4561, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.00353/0.4596, allocations: 0.759 MB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.4618, allocations: 1.174 MB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4619, allocations: 7.938 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.4621, allocations: 31.78 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.975e-05/0.4622, allocations: 11.92 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.4628, allocations: 128.7 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.4631, allocations: 127.7 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.4633, allocations: 27.92 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.4635, allocations: 51.83 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.4637, allocations: 43.77 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.4637, allocations: 8 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.4638, allocations: 27.98 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.4638, allocations: 11.94 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.968e-05/0.4639, allocations: 47.77 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.4643, allocations: 107.6 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4643, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4643, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.4643, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 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.0008146/0.4652, allocations: 414.6 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4652, allocations: 19.92 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.4653, allocations: 8.891 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.4656, allocations: 211.1 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.4656, allocations: 4.375 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.4657, allocations: 4.375 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.4658, allocations: 80.73 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4658, allocations: 192 / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4658, allocations: 11.92 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4658, allocations: 4 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.4659, allocations: 15.94 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007324/0.4666, allocations: 497 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.4667, allocations: 22.52 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.4667, allocations: 12.92 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.4667, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.4668, allocations: 55.39 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4668, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002349/0.4671, allocations: 69.58 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.4671, allocations: 51.41 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.4673, allocations: 157.7 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.4673, allocations: 25.7 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.4674, allocations: 96.14 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.4674, allocations: 11.95 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.4675, allocations: 33.69 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4677, allocations: 314.8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.4677, allocations: 27.98 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.4678, allocations: 50.55 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.468, allocations: 84.2 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.468, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000327/0.4683, allocations: 151.2 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.4683, allocations: 37.64 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4683, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4684, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.228e-05/0.4684, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4684, allocations: 12.02 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.4686, allocations: 31.97 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.4687, allocations: 12 kB / 1.326 GB, free: 13.5 MB / 1.029 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.0002603/0.4689, allocations: 117.8 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.4689, allocations: 3.953 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.469, allocations: 16.17 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.469, allocations: 0 / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.469, allocations: 3.938 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.469, allocations: 4 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.4692, allocations: 173.7 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4692, allocations: 0 / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-06/0.4692, allocations: 3.984 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4692, allocations: 4 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.4692, allocations: 240 / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4692, allocations: 0 / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4692, allocations: 3.938 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.4693, allocations: 89.06 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.4694, allocations: 81.06 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.4694, allocations: 7.984 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.4694, allocations: 0 / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.4695, allocations: 3.938 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.4695, allocations: 4 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001063/0.4696, allocations: 117.1 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4696, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000241/0.4698, allocations: 19.94 kB / 1.327 GB, free: 12.75 MB / 1.029 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.0002311/0.4701, allocations: 107.2 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.4703, allocations: 107.4 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4703, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.4706, allocations: 15.92 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4708, allocations: 8 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.4713, allocations: 154.6 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.4718, allocations: 0.7003 MB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.4719, allocations: 4 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.4719, allocations: 11.42 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4719, allocations: 7.938 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Templates: time 0.005272/0.4772, allocations: 1.146 MB / 1.329 GB, free: 10.44 MB / 1.029 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: 9.429498200770468]