Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001177/0.001177, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001397/0.001397, allocations: 161 kB / 23.82 MB, free: 0.75 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.9198/0.9198, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.897/1.897, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0.7656 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.149e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002276/0.002307, allocations: 0.9875 MB / 0.8125 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.003985, allocations: 0.9298 MB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.004073, allocations: 6.062 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.806e-05/0.004131, allocations: 15.8 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.004252, allocations: 19.8 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.004364, allocations: 55.92 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.004567, allocations: 168.1 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.00476, allocations: 74.25 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.004923, allocations: 95.8 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/0.00501, allocations: 59.78 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.00505, allocations: 21.44 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.005071, allocations: 16 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.005112, allocations: 39.84 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.005168, allocations: 43.91 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.005379, allocations: 120 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.005383, allocations: 5.344 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005384, allocations: 0 / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.00539, allocations: 0 / 0.8141 GB, free: 15.07 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006712/0.006061, allocations: 482.2 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.006107, allocations: 8.031 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.006185, allocations: 28.84 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.006404, allocations: 163.3 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.006424, allocations: 14.73 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.006453, allocations: 16.38 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.006785, allocations: 145.4 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.006797, allocations: 192 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.00682, allocations: 8.938 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.006832, allocations: 4.375 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.006981, allocations: 60.97 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007121/0.007693, allocations: 462 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.007885, allocations: 98.97 kB / 0.8156 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.007964, allocations: 39.66 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.007979, allocations: 8.719 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.008007, allocations: 33.39 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.008009, allocations: 1.344 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0003262/0.008335, allocations: 109.6 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.00838, allocations: 63.33 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.008516, allocations: 189 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.008535, allocations: 29.7 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.008629, allocations: 171 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.008665, allocations: 48.55 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.009013, allocations: 31.38 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.009159, allocations: 0.4884 MB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.009215, allocations: 16.77 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.009288, allocations: 47.05 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.009416, allocations: 80.14 kB / 0.8169 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.00942, allocations: 4.844 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001958/0.009616, allocations: 112.9 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.009633, allocations: 4 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.009637, allocations: 0 / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.009655, allocations: 4 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.009818, allocations: 37.09 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.009825, allocations: 0 / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.009892, allocations: 13.88 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.009908, allocations: 12 kB / 0.8171 GB, free: 11.88 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 9.486e-05/0.01, allocations: 168.5 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.01004, allocations: 15.84 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.01008, allocations: 16.78 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01008, allocations: 2.406 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01008, allocations: 0 / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01009, allocations: 4 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.01029, allocations: 164.6 kB / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01029, allocations: 0 / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.01041, allocations: 31.97 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.01041, allocations: 4.469 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.01042, allocations: 5.594 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01043, allocations: 3.938 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01043, allocations: 0 / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.01066, allocations: 239.9 kB / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.01068, allocations: 20.42 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.0107, allocations: 7.938 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.01079, allocations: 9.344 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.01086, allocations: 15.97 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.01087, allocations: 4 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.591e-05/0.01093, allocations: 142.4 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01093, allocations: 0 / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002793/0.01121, allocations: 28.55 kB / 0.8179 GB, free: 10.95 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001138/0.01133, allocations: 115.1 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.01152, allocations: 70.59 kB / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01152, allocations: 0 / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.0116, allocations: 39.67 kB / 0.8181 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.01194, allocations: 19.98 kB / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.01257, allocations: 293.1 kB / 0.8184 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.01263, allocations: 71.28 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.137e-05/0.01269, allocations: 11.58 kB / 0.8185 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.01275, allocations: 12.5 kB / 0.8185 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.01275, allocations: 5.125 kB / 0.8185 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.004688/0.01743, allocations: 1.52 MB / 0.82 GB, free: 8.824 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.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.269271851982921]