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.001526/0.001526, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001784/0.001784, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.179/3.179, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.0021/0.0021, allocations: 68.11 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 176.1 MB / 1.327 GB, free: 1.445 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.002127/0.3778, allocations: 0.7575 MB / 1.328 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3793, allocations: 1.19 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.3794, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.3795, allocations: 23.8 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.3796, allocations: 7.875 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.38, allocations: 140.8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3802, allocations: 123.8 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3803, allocations: 27.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.3804, allocations: 55.83 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3805, allocations: 39.84 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.3805, allocations: 8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.518e-05/0.3806, allocations: 19.98 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.3806, allocations: 15.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.3807, allocations: 43.84 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3808, allocations: 111.6 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3809, allocations: 0 / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3809, allocations: 4 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.3809, allocations: 0 / 1.33 GB, free: 14.88 MB / 1.029 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.0004834/0.3813, allocations: 339.7 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3814, allocations: 8.031 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.3814, allocations: 16.83 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3817, allocations: 142.4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3817, allocations: 4.375 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.3817, allocations: 8.375 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3818, allocations: 68.83 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3818, allocations: 192 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3819, allocations: 7.938 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3819, allocations: 4 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.3819, allocations: 19.92 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3824, allocations: 476 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.568e-05/0.3824, allocations: 18.58 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.3825, allocations: 8.922 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.3825, allocations: 0 / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.645e-05/0.3826, allocations: 63.33 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3826, allocations: 0 / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001818/0.3827, allocations: 61.64 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3828, allocations: 59.41 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.3829, allocations: 155.4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3829, allocations: 29.64 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.383, allocations: 100.1 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.383, allocations: 7.953 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.3831, allocations: 29.7 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3832, allocations: 314.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.3833, allocations: 35.91 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.3834, allocations: 50.75 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3835, allocations: 80.3 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3835, allocations: 4 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000249/0.3837, allocations: 147.2 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.3838, allocations: 37.64 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3838, allocations: 96 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3838, allocations: 7.984 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.567e-05/0.3838, allocations: 7.938 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3838, allocations: 3.938 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.384, allocations: 27.97 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.384, allocations: 7.984 kB / 1.332 GB, free: 12.33 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.0001011/0.3841, allocations: 118.4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.3842, allocations: 11.94 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3842, allocations: 8.344 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3842, allocations: 4 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3842, allocations: 3.938 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3842, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.3843, allocations: 148.7 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3843, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.3843, allocations: 4.062 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3843, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3844, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3844, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3844, allocations: 3.938 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.3845, allocations: 89.02 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.3845, allocations: 11.94 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3845, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.3845, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.3845, allocations: 7.938 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3845, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.418e-05/0.3846, allocations: 117.3 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3846, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002125/0.3848, allocations: 19.94 kB / 1.332 GB, free: 11.71 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.0001321/0.385, allocations: 95.25 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3852, allocations: 115.3 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3852, allocations: 0 / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.3852, allocations: 15.92 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.3854, allocations: 13.73 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.3858, allocations: 192.1 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3861, allocations: 0.6962 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.3861, allocations: 7.438 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3861, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of Templates: time 0.002868/0.389, allocations: 1.156 MB / 1.335 GB, free: 9.355 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/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: 11.185340483003529]