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.000998/0.000998, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001288/0.001288, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 0.9755/0.9755, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.139/2.139, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.633e-06/1.633e-06, allocations: 0 / 0.8782 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.649e-05, allocations: 2.812 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001455/0.001472, allocations: 1.025 MB / 0.8792 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.002975, allocations: 1.308 MB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.003042, allocations: 4 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.054e-05/0.003132, allocations: 23.08 kB / 0.8805 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.003193, allocations: 27.78 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.003567, allocations: 175.5 kB / 0.8807 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.003754, allocations: 224 kB / 0.8809 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.003874, allocations: 57.02 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.00406, allocations: 135.7 kB / 0.8811 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004161, allocations: 72.67 kB / 0.8811 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.00419, allocations: 24 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.004253, allocations: 40.89 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.004286, allocations: 39.84 kB / 0.8812 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.004353, allocations: 67.81 kB / 0.8813 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.00455, allocations: 168.2 kB / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004552, allocations: 0 / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.004553, allocations: 0.6562 kB / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004557, allocations: 3.438 kB / 0.8815 GB, free: 2.984 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.0004977/0.005055, allocations: 0.5132 MB / 0.882 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.005085, allocations: 12.03 kB / 0.882 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.0052, allocations: 40.78 kB / 0.882 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.005361, allocations: 174.1 kB / 0.8822 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.005374, allocations: 12.38 kB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.005397, allocations: 20.38 kB / 0.8822 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.005547, allocations: 118.8 kB / 0.8823 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005556, allocations: 8.703 kB / 0.8823 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.005567, allocations: 8.969 kB / 0.8823 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005574, allocations: 4 kB / 0.8823 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.005647, allocations: 39.97 kB / 0.8824 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.006074, allocations: 453.4 kB / 0.8828 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.00623, allocations: 78.97 kB / 0.8829 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.006272, allocations: 31.73 kB / 0.8829 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.006289, allocations: 8 kB / 0.8829 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.099e-05/0.00638, allocations: 88.95 kB / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.006381, allocations: 0 / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0001855/0.006566, allocations: 113.6 kB / 0.8831 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.006592, allocations: 55.41 kB / 0.8832 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.006692, allocations: 204.1 kB / 0.8834 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.006711, allocations: 33.69 kB / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.006776, allocations: 175.1 kB / 0.8836 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.006798, allocations: 31.73 kB / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.006859, allocations: 47.36 kB / 0.8836 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.006967, allocations: 0.4962 MB / 0.8841 GB, free: 52 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.007053, allocations: 65.67 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.007147, allocations: 134.1 kB / 0.8843 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.007254, allocations: 108.7 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.007255, allocations: 0 / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002195/0.007475, allocations: 224.3 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.007499, allocations: 33.7 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.007503, allocations: 0 / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.007513, allocations: 8.094 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.007567, allocations: 19.92 kB / 0.8847 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.007571, allocations: 0 / 0.8847 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.395e-05/0.007655, allocations: 27.97 kB / 0.8847 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.00767, allocations: 12 kB / 0.8847 GB, free: 15.36 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.143e-05/0.007741, allocations: 160.6 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.00776, allocations: 27.77 kB / 0.8849 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.007797, allocations: 16.78 kB / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007799, allocations: 4 kB / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.007802, allocations: 0 / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007805, allocations: 0 / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.007912, allocations: 180.4 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.007913, allocations: 0 / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.007947, allocations: 15.94 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.007948, allocations: 0 / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.007957, allocations: 3.984 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.007958, allocations: 0 / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007959, allocations: 0 / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.008085, allocations: 128.3 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.008098, allocations: 15.89 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.008115, allocations: 11.94 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.008141, allocations: 7.984 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.008177, allocations: 15.92 kB / 0.8853 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.008185, allocations: 7.984 kB / 0.8853 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.008244, allocations: 153.5 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008244, allocations: 0 / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001541/0.008398, allocations: 39.88 kB / 0.8855 GB, free: 14.52 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 9.123e-05/0.008489, allocations: 103.2 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.008684, allocations: 180.7 kB / 0.8857 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008685, allocations: 0 / 0.8857 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.008743, allocations: 40.48 kB / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.008902, allocations: 31.06 kB / 0.8858 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.009367, allocations: 282.6 kB / 0.8861 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.258e-05/0.0094, allocations: 67.34 kB / 0.8861 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.009435, allocations: 16.95 kB / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.009467, allocations: 20.5 kB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of SimCode: time 4.2e-07/0.009467, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.003757/0.01322, allocations: 2.199 MB / 0.8883 GB, free: 11.57 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.655813989695162]