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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 191 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.941/2.941, allocations: 496 MB / 0.7835 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.36 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3386, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.002393/0.341, allocations: 0.7678 MB / 1.308 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3425, allocations: 1.155 MB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.3426, allocations: 7.938 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.3428, allocations: 19.8 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.942e-05/0.3428, allocations: 15.94 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.3433, allocations: 130.9 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3436, allocations: 131.6 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3437, allocations: 23.92 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.3438, allocations: 43.91 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3439, allocations: 43.77 kB / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.3439, allocations: 12 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.344, allocations: 23.98 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.344, allocations: 15.86 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.3441, allocations: 43.8 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3443, allocations: 115.6 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3443, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3443, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3443, allocations: 0 / 1.31 GB, free: 15.25 MB / 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.0005101/0.3448, allocations: 331.8 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3449, allocations: 12.03 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.3449, allocations: 8.891 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3452, allocations: 150.4 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3452, allocations: 8.359 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.3452, allocations: 8.375 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3453, allocations: 68.77 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3453, allocations: 4.188 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3454, allocations: 3.938 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3454, allocations: 3.984 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.3454, allocations: 19.94 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.3459, allocations: 468.1 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.346, allocations: 26.52 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.346, allocations: 8.859 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.346, allocations: 4 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.3461, allocations: 55.45 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3461, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000197/0.3463, allocations: 69.58 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3463, allocations: 51.41 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3465, allocations: 156.1 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3465, allocations: 33.7 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.3466, allocations: 104.1 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.3466, allocations: 3.953 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.3467, allocations: 29.7 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3468, allocations: 322.8 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.3469, allocations: 27.98 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.3469, allocations: 46.56 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.3471, allocations: 84.2 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3471, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002556/0.3473, allocations: 151.2 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.3474, allocations: 37.69 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3474, allocations: 7.938 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3474, allocations: 0 / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.3474, allocations: 4.062 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3474, allocations: 7.938 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3476, allocations: 32.02 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.3476, allocations: 4 kB / 1.312 GB, free: 12.7 MB / 1.014 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 9.793e-05/0.3477, allocations: 117.8 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.3477, allocations: 11.94 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.3478, allocations: 16.28 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3478, allocations: 240 / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3478, allocations: 3.938 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3478, allocations: 3.984 kB / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.3479, allocations: 148.7 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3479, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.3479, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/0.3479, allocations: 4 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3479, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3479, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3479, allocations: 3.938 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.3481, allocations: 81.08 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.3481, allocations: 15.94 kB / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.3481, allocations: 0 / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.3481, allocations: 4 kB / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.3481, allocations: 7.875 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3481, allocations: 4 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.443e-05/0.3482, allocations: 113.6 kB / 1.313 GB, free: 12.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3482, allocations: 0 / 1.313 GB, free: 12.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000206/0.3484, allocations: 19.94 kB / 1.313 GB, free: 12.08 MB / 1.014 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.000167/0.3486, allocations: 112 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.3488, allocations: 103.4 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3488, allocations: 0 / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.3488, allocations: 11.94 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.3491, allocations: 8 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.3494, allocations: 166.7 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3497, allocations: 0.6926 MB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.3497, allocations: 7.984 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.3498, allocations: 11.44 kB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.3498, allocations: 0 / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of Templates: time 0.003909/0.3537, allocations: 1.162 MB / 1.315 GB, free: 9.754 MB / 1.014 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: 8.213306875899434]