Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001404/0.001404, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.002173/0.002173, allocations: 172.4 kB / 24.87 MB, free: 9.223 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.951/1.951, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.619e-05, allocations: 7.688 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002062/0.002088, allocations: 1.172 MB / 0.8139 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003103, allocations: 1.008 MB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.00319, allocations: 8.562 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.241e-05/0.003243, allocations: 25.08 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.003357, allocations: 43.58 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.003461, allocations: 92.94 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.003665, allocations: 311.4 kB / 0.8154 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.003864, allocations: 138 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.004026, allocations: 180.3 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.004107, allocations: 84.61 kB / 0.8158 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.00414, allocations: 32 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.004164, allocations: 36.66 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.004202, allocations: 63.81 kB / 0.8159 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.004256, allocations: 85.02 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.004431, allocations: 191.2 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004433, allocations: 0 / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004434, allocations: 0.9688 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004438, allocations: 4 kB / 0.8161 GB, free: 13.98 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0004829/0.004921, allocations: 0.5602 MB / 0.8167 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.004953, allocations: 8.031 kB / 0.8167 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.005006, allocations: 58 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.005177, allocations: 198.5 kB / 0.8169 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.005193, allocations: 17.03 kB / 0.817 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.005214, allocations: 26.22 kB / 0.817 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.005439, allocations: 183.3 kB / 0.8172 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.005449, allocations: 192 / 0.8172 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.005464, allocations: 12.38 kB / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.005471, allocations: 5.5 kB / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-05/0.00556, allocations: 76.47 kB / 0.8173 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.006155, allocations: 0.6034 MB / 0.8178 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.006362, allocations: 145 kB / 0.818 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.00642, allocations: 43.66 kB / 0.818 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.006432, allocations: 4 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.006452, allocations: 37.39 kB / 0.8181 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.006454, allocations: 1.531 kB / 0.8181 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0002007/0.006655, allocations: 141.8 kB / 0.8182 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.006683, allocations: 55.41 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.006769, allocations: 195.5 kB / 0.8184 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.006784, allocations: 34.27 kB / 0.8185 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.006862, allocations: 207.2 kB / 0.8187 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.006894, allocations: 64.89 kB / 0.8187 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.006939, allocations: 39.34 kB / 0.8188 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.007052, allocations: 0.5001 MB / 0.8193 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.007083, allocations: 19.98 kB / 0.8193 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.111e-05/0.007135, allocations: 50.27 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.832e-05/0.007213, allocations: 74.95 kB / 0.8194 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.007216, allocations: 5.797 kB / 0.8194 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001315/0.007347, allocations: 121.5 kB / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.00736, allocations: 4 kB / 0.8195 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.007365, allocations: 0 / 0.8195 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.007375, allocations: 4.609 kB / 0.8195 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.007494, allocations: 40.67 kB / 0.8196 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.007496, allocations: 0 / 0.8196 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.007546, allocations: 28.38 kB / 0.8196 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.007552, allocations: 1.188 kB / 0.8196 GB, free: 10.26 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 (21): * Single equations (assignments): 21 * 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 8.402e-05/0.007636, allocations: 172.5 kB / 0.8198 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.007663, allocations: 16.44 kB / 0.8198 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.007694, allocations: 25.11 kB / 0.8198 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.007698, allocations: 5.219 kB / 0.8198 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.0077, allocations: 0 / 0.8198 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.007702, allocations: 0 / 0.8198 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.008121, allocations: 177.9 kB / 0.82 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.008124, allocations: 3.938 kB / 0.82 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.008273, allocations: 44.84 kB / 0.82 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.008277, allocations: 1.344 kB / 0.82 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.008289, allocations: 4 kB / 0.82 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.008293, allocations: 4 kB / 0.82 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.008295, allocations: 0 / 0.82 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.008508, allocations: 270.9 kB / 0.8203 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.008525, allocations: 23.81 kB / 0.8203 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.008539, allocations: 6.031 kB / 0.8203 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.008602, allocations: 8 kB / 0.8203 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.008643, allocations: 19.97 kB / 0.8203 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.008649, allocations: 3.938 kB / 0.8203 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.008696, allocations: 143.2 kB / 0.8205 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008696, allocations: 0.6875 kB / 0.8205 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001728/0.008869, allocations: 55.78 kB / 0.8205 GB, free: 9.25 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 (20): * Single equations (assignments): 20 * 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 9.039e-05/0.008959, allocations: 102.6 kB / 0.8206 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.009096, allocations: 89.41 kB / 0.8207 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.009099, allocations: 4 kB / 0.8207 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.00915, allocations: 47.59 kB / 0.8208 GB, free: 9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.009384, allocations: 34.73 kB / 0.8208 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.009895, allocations: 393.9 kB / 0.8212 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.114e-05/0.009946, allocations: 76.92 kB / 0.8212 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.068e-05/0.01002, allocations: 23.38 kB / 0.8213 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.01011, allocations: 98.19 kB / 0.8214 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.01011, allocations: 4 kB / 0.8214 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of Templates: time 0.003955/0.01406, allocations: 1.949 MB / 0.8233 GB, free: 6.445 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.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.2560602109879255]