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.001318/0.001318, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001521/0.001521, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.002082/0.002082, allocations: 74.44 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4076, allocations: 176.1 MB / 1.327 GB, free: 0.9766 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.002185/0.4098, allocations: 0.7362 MB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.4115, allocations: 1.167 MB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.4115, allocations: 7.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.4117, allocations: 19.8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.4117, allocations: 7.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.4122, allocations: 130.2 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.4124, allocations: 123.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4125, allocations: 35.91 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.4126, allocations: 43.91 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.4127, allocations: 35.84 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.4127, allocations: 12 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.4128, allocations: 27.91 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.4128, allocations: 15.88 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.4129, allocations: 39.84 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.4131, allocations: 115.6 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4131, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.11e-07/0.4131, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4131, allocations: 0 / 1.33 GB, free: 14.46 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.0005363/0.4136, allocations: 331.8 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4137, allocations: 12.03 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.4137, allocations: 12.89 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.414, allocations: 142.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.414, allocations: 8.375 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.414, allocations: 8.359 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.4141, allocations: 72.77 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4141, allocations: 4.172 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4141, allocations: 7.875 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.4142, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.044e-05/0.4142, allocations: 27.92 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.4147, allocations: 424.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.128e-05/0.4147, allocations: 18.58 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.4147, allocations: 4.859 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.4147, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.4148, allocations: 59.45 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4148, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002015/0.415, allocations: 69.58 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4151, allocations: 51.41 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4152, allocations: 140.4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.4153, allocations: 29.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.4153, allocations: 112.1 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.4153, allocations: 3.953 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.4154, allocations: 29.7 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4155, allocations: 326.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.4156, allocations: 57.69 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.4157, allocations: 84.25 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4159, allocations: 80.2 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4159, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002701/0.4161, allocations: 181 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.4162, allocations: 37.69 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4162, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4162, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.661e-05/0.4162, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4162, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4164, allocations: 31.91 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.4164, allocations: 11.98 kB / 1.332 GB, free: 11.88 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.0001152/0.4165, allocations: 126.3 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.4166, allocations: 7.953 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.4166, allocations: 4.344 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4166, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4166, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4166, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.4167, allocations: 121.2 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4167, allocations: 3.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.4167, allocations: 4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4167, allocations: 240 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.4167, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4167, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4167, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.4168, allocations: 92.98 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.4169, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.4169, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.4169, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.4169, allocations: 11.94 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.4169, allocations: 3.984 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.257e-05/0.417, allocations: 95.27 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.417, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002168/0.4172, allocations: 23.89 kB / 1.332 GB, free: 11.31 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.000153/0.4174, allocations: 107.2 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4176, allocations: 137.1 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4176, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.4176, allocations: 11.94 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.4178, allocations: 20.73 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.4182, allocations: 150.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.531e-05/0.4183, allocations: 79.5 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.4183, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.4183, allocations: 11.44 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4183, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of Templates: time 0.004069/0.4224, allocations: 1.245 MB / 1.334 GB, free: 9.508 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 -s cvode -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.290897319006035]