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.001954/0.001954, allocations: 111 kB / 16.46 MB, free: 6.453 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.002234/0.002234, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.188/3.188, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.002071/0.002071, allocations: 72.73 kB / 1.149 GB, free: 26.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3718, allocations: 176.1 MB / 1.321 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002903/0.3747, allocations: 1.043 MB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.3771, allocations: 1.303 MB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.3773, allocations: 4 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.3775, allocations: 15.8 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.3776, allocations: 31.72 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.3783, allocations: 183.5 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.3787, allocations: 216.2 kB / 1.324 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.3789, allocations: 68.42 kB / 1.324 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.3791, allocations: 95.77 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.3793, allocations: 99.52 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.3794, allocations: 24 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3795, allocations: 35.98 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.3795, allocations: 43.84 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.3796, allocations: 87.58 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004266/0.3801, allocations: 259.3 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3801, allocations: 3.938 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3801, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.3801, allocations: 0 / 1.324 GB, free: 15.95 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.0008802/0.381, allocations: 0.4964 MB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.381, allocations: 11.98 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.345e-05/0.3811, allocations: 42.75 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3812, allocations: 32.78 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.3816, allocations: 230.3 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3816, allocations: 12.36 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3816, allocations: 20.12 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.3819, allocations: 133.6 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3819, allocations: 3.938 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.382, allocations: 8 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.382, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3822, allocations: 87.95 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.383, allocations: 0.5235 MB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.3834, allocations: 98.61 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3835, allocations: 40.84 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3835, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3837, allocations: 91.36 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3837, allocations: 4.188 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004173/0.3841, allocations: 157.4 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3842, allocations: 55.39 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3844, allocations: 183.2 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.3844, allocations: 29.69 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.3845, allocations: 128.3 kB / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3845, allocations: 31.73 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/0.3846, allocations: 37.7 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3848, allocations: 334.8 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.385, allocations: 51.97 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3851, allocations: 83.39 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.3854, allocations: 137 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3854, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004746/0.3859, allocations: 222.7 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.3859, allocations: 41.69 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3859, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3859, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.386, allocations: 19.92 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.386, allocations: 0 / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.3863, allocations: 43.92 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.3863, allocations: 27.84 kB / 1.327 GB, free: 12.3 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.0001209/0.3864, allocations: 121.8 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.3865, allocations: 15.91 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.3865, allocations: 21.39 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3865, allocations: 0 / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3865, allocations: 0 / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3865, allocations: 4 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.3868, allocations: 241.5 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3868, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.495e-05/0.3869, allocations: 19.92 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3869, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3869, allocations: 4 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3869, allocations: 4 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3869, allocations: 0 / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.3872, allocations: 148.9 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.3872, allocations: 96.94 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.3873, allocations: 8 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.3873, allocations: 4 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3874, allocations: 15.97 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3874, allocations: 4 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001295/0.3875, allocations: 140.4 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3875, allocations: 3.938 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002554/0.3878, allocations: 43.94 kB / 1.328 GB, free: 11.32 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.000685/0.3885, allocations: 0.6889 MB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.3889, allocations: 171.2 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3889, allocations: 4.125 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.389, allocations: 47.92 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3893, allocations: 29.97 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.3919, allocations: 1.929 MB / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.3923, allocations: 0.7123 MB / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.689e-05/0.3924, allocations: 17.02 kB / 1.332 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.3925, allocations: 51.42 kB / 1.332 GB, free: 7.496 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/0.3925, allocations: 0 / 1.332 GB, free: 7.496 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.4253, allocations: 3.743 MB / 1.336 GB, free: 3.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.683, allocations: 21.59 kB / 1.336 GB, free: 3.906 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.461985907983035]