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.0009648/0.0009648, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.002075/0.002075, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.966/0.966, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 2.066/2.066, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0.6562 kB / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.179e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001589/0.001611, allocations: 1.003 MB / 0.8804 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.002954, allocations: 1.312 MB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.003032, allocations: 1.125 kB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003135, allocations: 19.73 kB / 0.8817 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.0032, allocations: 24.86 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.003575, allocations: 172.6 kB / 0.8818 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.003786, allocations: 232 kB / 0.8821 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.003924, allocations: 57.7 kB / 0.8821 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.004118, allocations: 140.4 kB / 0.8823 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.004235, allocations: 69.45 kB / 0.8823 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.004265, allocations: 20 kB / 0.8823 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.004333, allocations: 43.91 kB / 0.8824 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.004371, allocations: 31.86 kB / 0.8824 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.004428, allocations: 72.77 kB / 0.8825 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004601, allocations: 167.4 kB / 0.8826 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004602, allocations: 0 / 0.8826 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004603, allocations: 1.094 kB / 0.8826 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.004607, allocations: 0 / 0.8826 GB, free: 2.723 MB / 0.8386 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.0004719/0.005079, allocations: 0.5177 MB / 0.8832 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.005107, allocations: 16.62 kB / 0.8832 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.005223, allocations: 40.78 kB / 0.8832 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.005383, allocations: 175.1 kB / 0.8834 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.005399, allocations: 12.38 kB / 0.8834 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.005421, allocations: 17.53 kB / 0.8834 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.005547, allocations: 106.9 kB / 0.8835 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005555, allocations: 192 / 0.8835 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.005567, allocations: 9.125 kB / 0.8835 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.005574, allocations: 4 kB / 0.8835 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.005624, allocations: 31.97 kB / 0.8835 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.006029, allocations: 424.9 kB / 0.884 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.006167, allocations: 76.61 kB / 0.884 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.006197, allocations: 27.8 kB / 0.8841 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.006209, allocations: 0 / 0.8841 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.673e-05/0.006306, allocations: 92.28 kB / 0.8841 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 9.21e-07/0.006307, allocations: 0 / 0.8841 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0001671/0.006474, allocations: 105.5 kB / 0.8842 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.006502, allocations: 55.41 kB / 0.8843 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.006595, allocations: 203.9 kB / 0.8845 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.006616, allocations: 37.64 kB / 0.8845 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.006684, allocations: 175.1 kB / 0.8847 GB, free: 472 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.006706, allocations: 35.73 kB / 0.8847 GB, free: 436 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.006762, allocations: 52.64 kB / 0.8848 GB, free: 376 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.006889, allocations: 0.4923 MB / 0.8853 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.006951, allocations: 65.67 kB / 0.8853 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.007028, allocations: 128.5 kB / 0.8854 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/0.007113, allocations: 96.75 kB / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.007114, allocations: 0 / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002297/0.007344, allocations: 213.9 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.007369, allocations: 37.69 kB / 0.8858 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.007372, allocations: 96 / 0.8858 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.00738, allocations: 8 kB / 0.8858 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/0.007434, allocations: 15.92 kB / 0.8858 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.007437, allocations: 4 kB / 0.8858 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.007521, allocations: 23.98 kB / 0.8858 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.007534, allocations: 7.984 kB / 0.8858 GB, free: 15.2 MB / 0.8542 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 7.454e-05/0.007609, allocations: 168.5 kB / 0.886 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.007627, allocations: 19.84 kB / 0.886 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.007651, allocations: 20.77 kB / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.007654, allocations: 4 kB / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007656, allocations: 0 / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.007659, allocations: 0 / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.639e-05/0.007755, allocations: 137.1 kB / 0.8862 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007756, allocations: 0 / 0.8862 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.007789, allocations: 15.98 kB / 0.8862 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.00779, allocations: 0 / 0.8862 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.007797, allocations: 4 kB / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007799, allocations: 3.938 kB / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0078, allocations: 0 / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.007914, allocations: 136.7 kB / 0.8863 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.007928, allocations: 15.94 kB / 0.8863 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.007945, allocations: 4 kB / 0.8863 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.686e-05/0.007971, allocations: 7.938 kB / 0.8863 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.008001, allocations: 15.97 kB / 0.8864 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.008006, allocations: 0 / 0.8864 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.176e-05/0.008057, allocations: 157.2 kB / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008058, allocations: 0 / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001578/0.008215, allocations: 35.89 kB / 0.8865 GB, free: 14.41 MB / 0.8542 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 8.847e-05/0.008304, allocations: 111.2 kB / 0.8867 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.008461, allocations: 164.7 kB / 0.8868 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.01e-07/0.008461, allocations: 0 / 0.8868 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.0085, allocations: 43.59 kB / 0.8868 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.008654, allocations: 23.98 kB / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.009052, allocations: 286.5 kB / 0.8871 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.009084, allocations: 67.33 kB / 0.8872 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.009119, allocations: 8.984 kB / 0.8872 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.009222, allocations: 106.2 kB / 0.8873 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.009222, allocations: 0 / 0.8873 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of Templates: time 0.003674/0.0129, allocations: 2.45 MB / 0.8897 GB, free: 11.14 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.377568089868873]