Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.001345/0.001345, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002361/0.002361, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.537/1.537, allocations: 230.6 MB / 256 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.162/3.162, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) [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.002142/0.002142, allocations: 66.41 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3666, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.00271/0.3693, allocations: 0.9689 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3711, allocations: 1.284 MB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.3712, allocations: 0 / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.3713, allocations: 19.73 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.3714, allocations: 23.78 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.3719, allocations: 179.5 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.3722, allocations: 224.1 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3724, allocations: 65.17 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.3726, allocations: 107.6 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3728, allocations: 75.66 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.3728, allocations: 20 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/0.3729, allocations: 39.98 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.3729, allocations: 35.84 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.373, allocations: 79.7 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.3734, allocations: 266.9 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3734, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3734, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.3734, allocations: 0 / 1.328 GB, free: 15 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007407/0.3741, allocations: 429.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3742, allocations: 8.031 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.3742, allocations: 46.73 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.3744, allocations: 32.78 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.3747, allocations: 168.5 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3747, allocations: 12.38 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.3747, allocations: 20.12 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.375, allocations: 137.5 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.375, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.375, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.375, allocations: 4 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.3752, allocations: 87.94 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.376, allocations: 451.3 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.3763, allocations: 102.5 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3764, allocations: 44.97 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3764, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.3767, allocations: 99.48 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.3767, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003926/0.3771, allocations: 153.5 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3771, allocations: 51.41 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3773, allocations: 187 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3773, allocations: 33.7 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.3774, allocations: 124.3 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3775, allocations: 35.75 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.3775, allocations: 41.69 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3777, allocations: 326.8 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.3779, allocations: 85.67 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.3781, allocations: 148.8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.3783, allocations: 132.1 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3783, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004347/0.3787, allocations: 252.9 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.3788, allocations: 33.7 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3788, allocations: 3.984 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3788, allocations: 4 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.3789, allocations: 19.94 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3789, allocations: 3.938 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.3791, allocations: 43.84 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.3791, allocations: 11.98 kB / 1.332 GB, free: 11.47 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: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001224/0.3793, allocations: 134.9 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.3793, allocations: 11.91 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.3793, allocations: 17.41 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3793, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3793, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3793, allocations: 7.922 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3795, allocations: 192.6 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3795, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.3796, allocations: 15.98 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3796, allocations: 4 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3797, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3797, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3797, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3799, allocations: 157.4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.38, allocations: 15.84 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.38, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.3801, allocations: 11.98 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.3801, allocations: 19.91 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3801, allocations: 8 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001222/0.3802, allocations: 139.2 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3802, allocations: 0 / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002515/0.3805, allocations: 39.95 kB / 1.332 GB, free: 10.62 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: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0006427/0.3811, allocations: 0.6962 MB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.3815, allocations: 197 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3815, allocations: 0 / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.3817, allocations: 52.03 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3819, allocations: 31.91 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.3846, allocations: 2.045 MB / 1.335 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.881e-05/0.3847, allocations: 103.2 kB / 1.335 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.385e-05/0.3848, allocations: 17.06 kB / 1.335 GB, free: 7.297 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.033e-05/0.3849, allocations: 51.41 kB / 1.335 GB, free: 7.246 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.3849, allocations: 0 / 1.335 GB, free: 7.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.4184, allocations: 4.444 MB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.12, allocations: 5.75 kB / 1.34 GB, free: 2.977 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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: 18.941326056141406]