Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001244/0.001244, allocations: 85.14 kB / 19.87 MB, free: 4.625 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.001265/0.001265, allocations: 165 kB / 23.27 MB, free: 1.23 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.9724/0.9724, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.456/2.456, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.665e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.001826/0.001852, allocations: 1.186 MB / 0.8909 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.002925, allocations: 1.007 MB / 0.8919 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.00301, allocations: 4 kB / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.907e-05/0.003059, allocations: 27.66 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.003176, allocations: 43.59 kB / 0.892 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.003284, allocations: 99.89 kB / 0.8921 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.003495, allocations: 311.3 kB / 0.8924 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.003702, allocations: 134 kB / 0.8925 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.00388, allocations: 179.7 kB / 0.8926 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.003957, allocations: 83.7 kB / 0.8927 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.003991, allocations: 35.98 kB / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.19e-05/0.004013, allocations: 32 kB / 0.8928 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.00405, allocations: 63.83 kB / 0.8929 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.004103, allocations: 79.83 kB / 0.8929 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.0043, allocations: 207.1 kB / 0.8931 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004303, allocations: 0 / 0.8931 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004304, allocations: 0 / 0.8931 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.00431, allocations: 0 / 0.8931 GB, free: 6.285 MB / 0.8542 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.0005333/0.004843, allocations: 0.5587 MB / 0.8937 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.00489, allocations: 8.625 kB / 0.8937 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.004946, allocations: 44.8 kB / 0.8937 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.005126, allocations: 201.5 kB / 0.8939 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.005145, allocations: 25.03 kB / 0.8939 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.005167, allocations: 24.38 kB / 0.894 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.005421, allocations: 183.4 kB / 0.8941 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.00543, allocations: 192 / 0.8941 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.005446, allocations: 8.375 kB / 0.8941 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.005454, allocations: 8.375 kB / 0.8942 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.005543, allocations: 68.47 kB / 0.8942 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.006218, allocations: 0.617 MB / 0.8948 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.006441, allocations: 127.2 kB / 0.8949 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.006496, allocations: 47.66 kB / 0.895 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.00651, allocations: 4 kB / 0.895 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.006537, allocations: 41.39 kB / 0.895 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.006539, allocations: 0 / 0.895 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002221/0.006761, allocations: 143.9 kB / 0.8952 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.006793, allocations: 55.41 kB / 0.8952 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.006892, allocations: 195.9 kB / 0.8954 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.006905, allocations: 33.64 kB / 0.8954 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.006996, allocations: 207.3 kB / 0.8956 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.007036, allocations: 71.38 kB / 0.8957 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.007086, allocations: 39.36 kB / 0.8957 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.007225, allocations: 0.5001 MB / 0.8962 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.007257, allocations: 15.98 kB / 0.8962 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.007307, allocations: 52.91 kB / 0.8963 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.658e-05/0.007393, allocations: 77.41 kB / 0.8964 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.007396, allocations: 0 / 0.8964 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001505/0.007547, allocations: 125.5 kB / 0.8965 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.007562, allocations: 8 kB / 0.8965 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.007568, allocations: 0 / 0.8965 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.007582, allocations: 0 / 0.8965 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.007708, allocations: 51.91 kB / 0.8966 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.007711, allocations: 0 / 0.8966 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.007756, allocations: 15.89 kB / 0.8966 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.007766, allocations: 12.03 kB / 0.8966 GB, free: 2.543 MB / 0.8542 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 9.452e-05/0.00786, allocations: 168.5 kB / 0.8967 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.007887, allocations: 19.91 kB / 0.8968 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.007927, allocations: 21.12 kB / 0.8968 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.00793, allocations: 0 / 0.8968 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.007934, allocations: 0 / 0.8968 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.007938, allocations: 7.938 kB / 0.8968 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.008121, allocations: 165.2 kB / 0.8969 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008123, allocations: 3.938 kB / 0.8969 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.008219, allocations: 43.98 kB / 0.897 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.008221, allocations: 0 / 0.897 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.008229, allocations: 4 kB / 0.897 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.00823, allocations: 0 / 0.897 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008232, allocations: 0 / 0.897 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.008419, allocations: 277.4 kB / 0.8973 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.008455, allocations: 19.78 kB / 0.8973 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.00847, allocations: 8 kB / 0.8973 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.008525, allocations: 11.98 kB / 0.8973 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.008575, allocations: 15.97 kB / 0.8973 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.008581, allocations: 8 kB / 0.8973 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.008636, allocations: 140.8 kB / 0.8975 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008636, allocations: 0 / 0.8975 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001885/0.008825, allocations: 55.78 kB / 0.8975 GB, free: 1.535 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: 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 0.0001138/0.008939, allocations: 99.23 kB / 0.8976 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.00908, allocations: 97.92 kB / 0.8977 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009082, allocations: 0 / 0.8977 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.009133, allocations: 55.48 kB / 0.8977 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.009367, allocations: 39.97 kB / 0.8978 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.009897, allocations: 386.6 kB / 0.8982 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.009946, allocations: 80.08 kB / 0.8982 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.01001, allocations: 13.48 kB / 0.8982 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.01009, allocations: 102.2 kB / 0.8983 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.01009, allocations: 0 / 0.8983 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of Templates: time 0.003755/0.01385, allocations: 1.91 MB / 0.9002 GB, free: 14.77 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.257696411572397]