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.001594/0.001594, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002001/0.002001, allocations: 216 kB / 22.24 MB, free: 5.254 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.777 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.221/3.221, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.00212/0.00212, allocations: 62.91 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002419/0.3745, allocations: 0.979 MB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3765, allocations: 1.276 MB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3766, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.3767, allocations: 19.73 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.3768, allocations: 31.78 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.3774, allocations: 174.7 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.3777, allocations: 228 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.3779, allocations: 70.89 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.3781, allocations: 99.69 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.3783, allocations: 91.59 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.3783, allocations: 20 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.3784, allocations: 39.98 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.3785, allocations: 39.91 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3786, allocations: 75.64 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.379, allocations: 263 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.379, allocations: 4 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.379, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.379, allocations: 0 / 1.329 GB, free: 14.16 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.0008596/0.3798, allocations: 419.2 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3799, allocations: 8.031 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.3799, allocations: 46.73 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.3801, allocations: 36.78 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.3804, allocations: 175.2 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3804, allocations: 12.38 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.3805, allocations: 20.12 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.3808, allocations: 145.5 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3808, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3808, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3808, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.381, allocations: 79.95 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.3819, allocations: 459.3 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.3822, allocations: 102.6 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3823, allocations: 36.84 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.3823, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.3826, allocations: 99.42 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3826, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004452/0.3831, allocations: 157.5 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3831, allocations: 51.41 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3833, allocations: 191 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.3834, allocations: 25.7 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3835, allocations: 128.3 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.3835, allocations: 27.75 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.3836, allocations: 41.69 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3838, allocations: 330.8 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.384, allocations: 85.67 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3842, allocations: 142.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.3844, allocations: 131.7 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3844, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004492/0.3849, allocations: 248.9 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.3849, allocations: 39.58 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3849, allocations: 7.984 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.385, allocations: 7.984 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.3851, allocations: 16 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3851, allocations: 4 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3853, allocations: 39.84 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.3853, allocations: 19.92 kB / 1.332 GB, free: 10.62 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.0001475/0.3855, allocations: 126.9 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3855, allocations: 15.84 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.3856, allocations: 17.41 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3856, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3856, allocations: 7.938 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3856, allocations: 7.984 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3858, allocations: 196.6 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3858, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.3859, allocations: 15.98 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3859, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3859, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3859, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3859, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.3862, allocations: 148.9 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3862, allocations: 19.84 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.3863, allocations: 11.94 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.3863, allocations: 11.92 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.3864, allocations: 15.97 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3864, allocations: 4 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3865, allocations: 135.2 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3865, allocations: 0 / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002739/0.3868, allocations: 39.94 kB / 1.333 GB, free: 9.777 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.0007132/0.3875, allocations: 0.6904 MB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.3879, allocations: 201.7 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3879, allocations: 0 / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.388, allocations: 47.91 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3884, allocations: 28.36 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.391, allocations: 2.053 MB / 1.336 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3912, allocations: 99.23 kB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.69e-05/0.3913, allocations: 17.08 kB / 1.336 GB, free: 6.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.3914, allocations: 47.41 kB / 1.336 GB, free: 6.41 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3914, allocations: 0 / 1.336 GB, free: 6.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.4244, allocations: 4.477 MB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.79, allocations: 4.125 kB / 1.341 GB, free: 2.113 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.573148029012373]