Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001898/0.001898, allocations: 109.1 kB / 18.94 MB, free: 2.812 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.002885/0.002885, allocations: 216.7 kB / 22.26 MB, free: 5.18 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.689/1.689, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.516/3.516, allocations: 0.5049 GB / 0.81 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [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.002513/0.002513, allocations: 71.47 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.413, allocations: 180.2 MB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002422/0.4155, allocations: 1.053 MB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.4173, allocations: 1.307 MB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.4174, allocations: 4 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.4176, allocations: 23.73 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.4176, allocations: 15.81 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.4182, allocations: 182.1 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.4185, allocations: 232.1 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.4187, allocations: 60.91 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.4189, allocations: 99.69 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.4191, allocations: 91.59 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.4191, allocations: 24 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.4192, allocations: 43.97 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.4192, allocations: 31.86 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.4193, allocations: 95.52 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.4197, allocations: 263 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4197, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4197, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.4197, allocations: 3.984 kB / 1.357 GB, free: 4.496 MB / 1.045 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.0007942/0.4205, allocations: 423.2 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4205, allocations: 12.03 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.4207, allocations: 36.78 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.421, allocations: 162.4 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.421, allocations: 12.38 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.421, allocations: 16.38 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.4213, allocations: 137.5 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4213, allocations: 0 / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.4213, allocations: 4 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4213, allocations: 8 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.4215, allocations: 87.95 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.4223, allocations: 495.2 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.4226, allocations: 90.67 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.4227, allocations: 44.84 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.4228, allocations: 8.125 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.423, allocations: 91.3 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.423, allocations: 0 / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004212/0.4235, allocations: 153.5 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.4235, allocations: 55.41 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.4237, allocations: 196.2 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.4238, allocations: 37.64 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.4239, allocations: 120.3 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.4239, allocations: 31.73 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.424, allocations: 41.64 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4241, allocations: 334.8 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4243, allocations: 51.97 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.4245, allocations: 91.41 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.4247, allocations: 125.9 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4247, allocations: 0 / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004351/0.4251, allocations: 227.6 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.4252, allocations: 33.7 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.4252, allocations: 4 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4252, allocations: 0 / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.4253, allocations: 15.98 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.4253, allocations: 4 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.4255, allocations: 43.84 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.4256, allocations: 8 kB / 1.36 GB, free: 1.129 MB / 1.045 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.0001331/0.4257, allocations: 133.9 kB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.4257, allocations: 15.91 kB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.4258, allocations: 21.39 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4258, allocations: 0 / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4258, allocations: 0 / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4258, allocations: 0 / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.426, allocations: 216.5 kB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.426, allocations: 0 / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.4261, allocations: 23.92 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4261, allocations: 0 / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.4261, allocations: 4 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.4261, allocations: 3.984 kB / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4261, allocations: 0 / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.4264, allocations: 156.9 kB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.4264, allocations: 15.84 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.4264, allocations: 0 / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.4265, allocations: 15.98 kB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.4266, allocations: 7.984 kB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.4266, allocations: 7.984 kB / 1.36 GB, free: 456 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001117/0.4267, allocations: 135.5 kB / 1.36 GB, free: 320 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4267, allocations: 0 / 1.36 GB, free: 320 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002495/0.4269, allocations: 43.89 kB / 1.361 GB, free: 276 kB / 1.045 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.0001684/0.4271, allocations: 107.1 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.4275, allocations: 171.3 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4275, allocations: 0 / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4276, allocations: 47.91 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.4279, allocations: 23.92 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.4285, allocations: 272.8 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4288, allocations: 0.7162 MB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.4289, allocations: 13.08 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.4289, allocations: 15.44 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4289, allocations: 4 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of Templates: time 0.005858/0.4348, allocations: 2.206 MB / 1.364 GB, free: 12.66 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.993780340068042]