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.001724/0.001724, allocations: 82.33 kB / 19.77 MB, free: 2.016 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.00173/0.00173, allocations: 152.3 kB / 23.01 MB, free: 4.965 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.499/1.499, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.83/2.83, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002373/0.002373, allocations: 67.89 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188/1.19, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 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.001744/1.192, allocations: 0.7335 MB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001104/1.193, allocations: 1.165 MB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/1.193, allocations: 2.844 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/1.193, allocations: 18.95 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.961e-05/1.193, allocations: 18.5 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/1.194, allocations: 130 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/1.194, allocations: 126.6 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/1.194, allocations: 19.44 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/1.194, allocations: 49.95 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/1.194, allocations: 40.16 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/1.194, allocations: 7.531 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/1.194, allocations: 23.45 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/1.194, allocations: 10.22 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/1.194, allocations: 36.12 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/1.194, allocations: 114.7 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.194, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.122e-06/1.194, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.719e-06/1.194, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 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.000376/1.195, allocations: 345 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/1.195, allocations: 8.531 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/1.195, allocations: 20.11 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/1.195, allocations: 146.8 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.195, allocations: 3.219 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/1.195, allocations: 16.06 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/1.195, allocations: 71.91 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.195, allocations: 7 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/1.195, allocations: 7.641 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.195, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/1.195, allocations: 16.53 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/1.195, allocations: 418.8 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/1.195, allocations: 24.86 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/1.195, allocations: 7.703 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/1.195, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/1.196, allocations: 61.3 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.196, allocations: 0 / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0001761/1.196, allocations: 67.11 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/1.196, allocations: 54.22 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/1.196, allocations: 131.4 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/1.196, allocations: 32.52 kB / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/1.196, allocations: 102.1 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/1.196, allocations: 3.953 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/1.196, allocations: 42.44 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/1.196, allocations: 314.8 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/1.196, allocations: 61.69 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/1.196, allocations: 82.73 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/1.196, allocations: 83.77 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.196, allocations: 0 / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002045/1.196, allocations: 185.2 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.196, allocations: 42.73 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.196, allocations: 3 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.197, allocations: 0 / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.57e-05/1.197, allocations: 3.031 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/1.197, allocations: 0 / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/1.197, allocations: 30.38 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/1.197, allocations: 2.688 kB / 1.159 GB, free: 29.66 MB / 1.076 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 6.235e-05/1.197, allocations: 130.7 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/1.197, allocations: 9.547 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/1.197, allocations: 8.344 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.197, allocations: 2.75 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/1.197, allocations: 0 / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.197, allocations: 0 / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.011e-05/1.197, allocations: 123.1 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.197, allocations: 0 / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-06/1.197, allocations: 0 / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/1.197, allocations: 0 / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/1.197, allocations: 2.906 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.197, allocations: 11.09 kB / 1.159 GB, free: 29.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.197, allocations: 0 / 1.159 GB, free: 29.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.963e-05/1.197, allocations: 89.31 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/1.197, allocations: 0 / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/1.197, allocations: 5.812 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.596e-05/1.197, allocations: 4 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/1.197, allocations: 2.969 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/1.197, allocations: 0 / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.074e-05/1.197, allocations: 103.6 kB / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.197, allocations: 0 / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002065/1.197, allocations: 18.11 kB / 1.159 GB, free: 29.2 MB / 1.076 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.0001118/1.197, allocations: 108 kB / 1.159 GB, free: 29.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001882/1.198, allocations: 139.9 kB / 1.159 GB, free: 28.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.198, allocations: 0 / 1.159 GB, free: 28.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/1.198, allocations: 12.06 kB / 1.159 GB, free: 28.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/1.198, allocations: 19.59 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/1.198, allocations: 160 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.472e-05/1.198, allocations: 80.47 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.88e-05/1.198, allocations: 6.016 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/1.198, allocations: 11.22 kB / 1.16 GB, free: 28.75 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/1.198, allocations: 0 / 1.16 GB, free: 28.75 MB / 1.076 GB Notification: Performance of Templates: time 0.00389/1.202, allocations: 1.187 MB / 1.161 GB, free: 28.59 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.544396958081052]