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.PIDGain.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.001478/0.001478, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001105/0.001105, allocations: 185 kB / 24.09 MB, free: 416 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.9874/0.9874, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.929/1.929, allocations: 377.9 MB / 0.624 GB, free: 8.426 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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.59e-05, allocations: 6.781 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001506/0.001531, allocations: 0.847 MB / 0.8129 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.002419, allocations: 0.8942 MB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.002475, allocations: 4 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.002508, allocations: 12.73 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.77e-05/0.002596, allocations: 12.59 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.002815, allocations: 39.95 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.002922, allocations: 121.4 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.003045, allocations: 29.3 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.003161, allocations: 75.8 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.003213, allocations: 31.91 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.003236, allocations: 13.53 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.003247, allocations: 8 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.00327, allocations: 27.91 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.003301, allocations: 27.91 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.003411, allocations: 79.67 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.003413, allocations: 0.5 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003414, allocations: 4.562 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003417, allocations: 0 / 0.8142 GB, free: 15.22 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003851/0.003803, allocations: 442 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.00384, allocations: 12.03 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.003871, allocations: 17.56 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.00399, allocations: 144.5 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.004001, allocations: 9.094 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.004011, allocations: 6 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.004164, allocations: 107.3 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004171, allocations: 0 / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.004179, allocations: 0 / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.004187, allocations: 8.578 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.004238, allocations: 15.98 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.004608, allocations: 341.4 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.00473, allocations: 64.31 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.004759, allocations: 24.98 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.004768, allocations: 4 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.004788, allocations: 37.39 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 2.535e-06/0.004791, allocations: 1.75 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001436/0.004935, allocations: 65.64 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.00496, allocations: 55.41 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.005035, allocations: 184.6 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005046, allocations: 29.7 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.005106, allocations: 159.6 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.005123, allocations: 35.72 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.005157, allocations: 34.25 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.00526, allocations: 0.4884 MB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.005277, allocations: 8 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.005306, allocations: 23.36 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.005349, allocations: 39.36 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005351, allocations: 0 / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.249e-05/0.005433, allocations: 77.52 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.005444, allocations: 5.438 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005449, allocations: 0 / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005462, allocations: 4 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.005533, allocations: 20.61 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.005536, allocations: 7.875 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.005572, allocations: 20.44 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.005576, allocations: 0.9531 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 6.213e-05/0.005638, allocations: 161.2 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.005657, allocations: 13.17 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.005685, allocations: 20.77 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.005687, allocations: 0 / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.005688, allocations: 0 / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005691, allocations: 2.562 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.005796, allocations: 121.2 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005797, allocations: 0 / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.005852, allocations: 19.98 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.005856, allocations: 7.922 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.005861, allocations: 0 / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.005863, allocations: 4.516 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.005866, allocations: 8 kB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.005984, allocations: 220.6 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.005993, allocations: 7.953 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.006003, allocations: 4.875 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.577e-05/0.006049, allocations: 11.98 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.006084, allocations: 9.203 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006088, allocations: 4 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.006129, allocations: 139.2 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006129, allocations: 0.8438 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001424/0.006271, allocations: 23.89 kB / 0.8173 GB, free: 11.76 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 (8): * Single equations (assignments): 8 * 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 8.805e-05/0.006359, allocations: 107.9 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.242e-05/0.006442, allocations: 39.78 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006443, allocations: 0 / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.00647, allocations: 23.62 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.006675, allocations: 26.08 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.006994, allocations: 203.8 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.296e-05/0.007027, allocations: 64.41 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.007062, allocations: 6.484 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.007131, allocations: 90.19 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of SimCode: time 1.072e-06/0.007132, allocations: 1.25 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.003177/0.01031, allocations: 1.421 MB / 0.8193 GB, free: 9.797 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.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.126363352872431]