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.002482/0.002482, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.003/0.003, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.102/3.102, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.845e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002567/0.002596, allocations: 1.007 MB / 0.8118 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.004696, allocations: 1.288 MB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.004832, allocations: 7.938 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.004972, allocations: 15.8 kB / 0.8131 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.005073, allocations: 24.67 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.005659, allocations: 176.5 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.006022, allocations: 229.2 kB / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.006205, allocations: 61.02 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.006512, allocations: 127.8 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.006673, allocations: 80.3 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.006723, allocations: 21.25 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.006832, allocations: 39.97 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.006886, allocations: 35.86 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.006987, allocations: 63.88 kB / 0.8139 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.007413, allocations: 285.5 kB / 0.8142 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.007416, allocations: 0 / 0.8142 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.007417, allocations: 0 / 0.8142 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.007423, allocations: 0 / 0.8142 GB, free: 14.7 MB / 0.7761 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.0009104/0.008334, allocations: 0.5246 MB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.008377, allocations: 13.56 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.008575, allocations: 32.84 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.008879, allocations: 176.5 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.008903, allocations: 12.38 kB / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.00894, allocations: 17.81 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.009232, allocations: 130.2 kB / 0.815 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.009243, allocations: 192 / 0.815 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.009264, allocations: 9.438 kB / 0.815 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.009273, allocations: 4 kB / 0.815 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.009495, allocations: 84.95 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008769/0.01037, allocations: 492.9 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.01072, allocations: 111.5 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.01083, allocations: 48.27 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.01086, allocations: 0 / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.01106, allocations: 109.8 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.01106, allocations: 0 / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.000415/0.01147, allocations: 150.5 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.01152, allocations: 51.94 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.01175, allocations: 228.5 kB / 0.8163 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.01179, allocations: 35.02 kB / 0.8163 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.01193, allocations: 179.1 kB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.01197, allocations: 39.69 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.01208, allocations: 56.5 kB / 0.8166 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002631/0.01235, allocations: 0.4962 MB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.01253, allocations: 93.67 kB / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.01276, allocations: 159 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.01302, allocations: 141.2 kB / 0.8174 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01302, allocations: 0.8125 kB / 0.8174 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005166/0.01354, allocations: 272.6 kB / 0.8177 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.01358, allocations: 29.7 kB / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.01359, allocations: 4.906 kB / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.0136, allocations: 0 / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/0.01369, allocations: 23.91 kB / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.0137, allocations: 0.8438 kB / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.01389, allocations: 33.16 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.01391, allocations: 11.98 kB / 0.8178 GB, free: 10.72 MB / 0.7761 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.0001612/0.01407, allocations: 173.4 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.0141, allocations: 15.89 kB / 0.818 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.01416, allocations: 21.64 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01416, allocations: 4 kB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01416, allocations: 1.562 kB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.01417, allocations: 0 / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.01439, allocations: 188.5 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01439, allocations: 0 / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/0.01449, allocations: 24.98 kB / 0.8182 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01449, allocations: 3.938 kB / 0.8182 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.0145, allocations: 0 / 0.8182 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.0145, allocations: 3.219 kB / 0.8182 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.0145, allocations: 0 / 0.8182 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.0148, allocations: 160.4 kB / 0.8183 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.01482, allocations: 19.78 kB / 0.8184 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.01485, allocations: 0 / 0.8184 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.01491, allocations: 11.98 kB / 0.8184 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.01498, allocations: 11.97 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01499, allocations: 8 kB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001292/0.01512, allocations: 159.2 kB / 0.8185 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01512, allocations: 8.438 kB / 0.8186 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002591/0.01538, allocations: 37.83 kB / 0.8186 GB, free: 9.828 MB / 0.7761 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.0001802/0.01556, allocations: 107.2 kB / 0.8187 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004389/0.016, allocations: 229.3 kB / 0.8189 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.016, allocations: 0 / 0.8189 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.01612, allocations: 58.94 kB / 0.819 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.01641, allocations: 30.06 kB / 0.819 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.01701, allocations: 297.5 kB / 0.8193 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.01712, allocations: 102.9 kB / 0.8194 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.01719, allocations: 13.84 kB / 0.8194 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.01723, allocations: 12.5 kB / 0.8194 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01724, allocations: 1.094 kB / 0.8194 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of Templates: time 0.006645/0.02388, allocations: 2.19 MB / 0.8215 GB, free: 6.812 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.381951935007237]