Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009255/0.0009255, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001099/0.001099, allocations: 170 kB / 23.27 MB, free: 1.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 0.9575/0.9575, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.25/2.25, allocations: 438.1 MB / 0.682 GB, free: 14.14 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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.888e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001372/0.001391, allocations: 0.8451 MB / 0.8906 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.002193, allocations: 0.8975 MB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.002242, allocations: 0 / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.002276, allocations: 7.875 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.00236, allocations: 27.8 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.964e-05/0.002419, allocations: 31.97 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.00252, allocations: 115.7 kB / 0.8917 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.002621, allocations: 37.28 kB / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.00272, allocations: 63.88 kB / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.002773, allocations: 39.83 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.002792, allocations: 12 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.002803, allocations: 12 kB / 0.8918 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.002825, allocations: 23.91 kB / 0.8918 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.002853, allocations: 35.92 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.002953, allocations: 75.66 kB / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002954, allocations: 0 / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002955, allocations: 4 kB / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.002958, allocations: 0 / 0.8919 GB, free: 7.453 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004922/0.00345, allocations: 444.3 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.003482, allocations: 8.625 kB / 0.8924 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.003511, allocations: 16.89 kB / 0.8924 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.003615, allocations: 140.5 kB / 0.8925 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.003623, allocations: 8.562 kB / 0.8925 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.003634, allocations: 8.375 kB / 0.8925 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.003773, allocations: 111.3 kB / 0.8927 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.003779, allocations: 0 / 0.8927 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.003787, allocations: 4 kB / 0.8927 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.003791, allocations: 4 kB / 0.8927 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.00383, allocations: 21.67 kB / 0.8927 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.004135, allocations: 340 kB / 0.893 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.004257, allocations: 67.27 kB / 0.8931 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.004283, allocations: 19.62 kB / 0.8931 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.004292, allocations: 7.984 kB / 0.8931 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.00431, allocations: 37.39 kB / 0.8931 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.004311, allocations: 0 / 0.8931 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001283/0.004439, allocations: 73.64 kB / 0.8932 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.004463, allocations: 55.39 kB / 0.8933 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.004537, allocations: 184.6 kB / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.004546, allocations: 29.7 kB / 0.8935 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.004603, allocations: 162.7 kB / 0.8936 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.004616, allocations: 19.75 kB / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.004649, allocations: 39.3 kB / 0.8937 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.00475, allocations: 0.4884 MB / 0.8941 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.004768, allocations: 11.98 kB / 0.8942 GB, free: 5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.004795, allocations: 27.38 kB / 0.8942 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.004837, allocations: 35.36 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004839, allocations: 0 / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.607e-05/0.004915, allocations: 77.52 kB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.004925, allocations: 4 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.004931, allocations: 7.984 kB / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.004942, allocations: 0 / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.005005, allocations: 19.98 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.005008, allocations: 3.938 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.005042, allocations: 15.94 kB / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005048, allocations: 4 kB / 0.8943 GB, free: 4.785 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 (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 5.766e-05/0.005105, allocations: 156.6 kB / 0.8945 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.005128, allocations: 23.88 kB / 0.8945 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.005151, allocations: 12.78 kB / 0.8945 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.005152, allocations: 0 / 0.8945 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.005153, allocations: 0 / 0.8945 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.005155, allocations: 3.938 kB / 0.8945 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.005257, allocations: 125.2 kB / 0.8947 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.005257, allocations: 0 / 0.8947 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.005301, allocations: 19.98 kB / 0.8947 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.005303, allocations: 3.938 kB / 0.8947 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.005309, allocations: 4 kB / 0.8947 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.005311, allocations: 4 kB / 0.8947 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005312, allocations: 4 kB / 0.8947 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.005416, allocations: 211.8 kB / 0.8949 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.005425, allocations: 11.95 kB / 0.8949 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.005435, allocations: 3.938 kB / 0.8949 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.00548, allocations: 15.98 kB / 0.8949 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.005513, allocations: 11.98 kB / 0.8949 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-06/0.005516, allocations: 0 / 0.8949 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.005551, allocations: 137.5 kB / 0.8951 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005551, allocations: 0 / 0.8951 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001419/0.005693, allocations: 23.94 kB / 0.8951 GB, free: 3.965 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 (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 6.75e-05/0.005761, allocations: 105.1 kB / 0.8952 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.005837, allocations: 40.08 kB / 0.8952 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.005838, allocations: 0 / 0.8952 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.005868, allocations: 27.61 kB / 0.8952 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.006055, allocations: 28.28 kB / 0.8953 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.006349, allocations: 222.7 kB / 0.8955 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.006382, allocations: 63.2 kB / 0.8955 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.006413, allocations: 8 kB / 0.8956 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.006478, allocations: 86.19 kB / 0.8956 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.006478, allocations: 0 / 0.8956 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of Templates: time 0.002662/0.009141, allocations: 1.422 MB / 0.897 GB, free: 1.969 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.239548751618713]