Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.002519/0.002519, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002138/0.002138, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.086/3.086, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.063e-05, allocations: 7.031 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.00285/0.002881, allocations: 1.27 MB / 0.8121 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.004649, allocations: 1.021 MB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004759, allocations: 4 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.747e-05/0.004836, allocations: 31.59 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.004996, allocations: 39.59 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.005197, allocations: 117.4 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.005612, allocations: 352.3 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.005941, allocations: 162.5 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.006229, allocations: 199.7 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.006374, allocations: 101.1 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.636e-05/0.006441, allocations: 44 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.0065, allocations: 48 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.006585, allocations: 84.27 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.006703, allocations: 100.3 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.007324, allocations: 0.5491 MB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.007327, allocations: 0.9375 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.362e-06/0.007328, allocations: 3.938 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.007334, allocations: 0.75 kB / 0.8148 GB, free: 13.97 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009879/0.008322, allocations: 0.6148 MB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.008362, allocations: 8.031 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.008479, allocations: 61.91 kB / 0.8155 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.008818, allocations: 220.8 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.008848, allocations: 21.03 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.008896, allocations: 37.19 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.00951, allocations: 287.1 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.009523, allocations: 192 / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.009553, allocations: 13.19 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.009563, allocations: 8.375 kB / 0.816 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.01033, allocations: 243.6 kB / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.01183, allocations: 0.9456 MB / 0.8172 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.01245, allocations: 263.6 kB / 0.8174 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.01273, allocations: 123.6 kB / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.01275, allocations: 4 kB / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.01278, allocations: 37.39 kB / 0.8176 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.233e-06/0.01279, allocations: 0 / 0.8176 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0008376/0.01362, allocations: 328.7 kB / 0.8179 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.01367, allocations: 53.34 kB / 0.818 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01388, allocations: 219.9 kB / 0.8182 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.01391, allocations: 29.7 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.01407, allocations: 219.2 kB / 0.8184 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.252e-05/0.01416, allocations: 95.22 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.01426, allocations: 57.06 kB / 0.8186 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002892/0.01455, allocations: 0.5195 MB / 0.8191 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.015, allocations: 72.44 kB / 0.8191 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.01526, allocations: 126.2 kB / 0.8193 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.01573, allocations: 218.8 kB / 0.8195 GB, free: 9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01573, allocations: 0 / 0.8195 GB, free: 9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005571/0.01629, allocations: 247.5 kB / 0.8197 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.0163, allocations: 8 kB / 0.8197 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.0163, allocations: 2.406 kB / 0.8197 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.01633, allocations: 7.984 kB / 0.8197 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.01657, allocations: 47.92 kB / 0.8198 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.01658, allocations: 4 kB / 0.8198 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.0167, allocations: 27.83 kB / 0.8198 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.01671, allocations: 11.03 kB / 0.8198 GB, free: 8.652 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 (27): * Single equations (assignments): 27 * 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 0.0001821/0.0169, allocations: 196.5 kB / 0.82 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.01695, allocations: 23.91 kB / 0.82 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.01702, allocations: 25.27 kB / 0.82 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01702, allocations: 4 kB / 0.82 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01702, allocations: 0 / 0.82 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01703, allocations: 0 / 0.82 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.01743, allocations: 304.3 kB / 0.8203 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01743, allocations: 0.875 kB / 0.8203 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.01768, allocations: 53.06 kB / 0.8204 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01768, allocations: 0 / 0.8204 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.0177, allocations: 4 kB / 0.8204 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.0177, allocations: 9.062 kB / 0.8204 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0177, allocations: 0 / 0.8204 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.01834, allocations: 411.4 kB / 0.8208 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.01836, allocations: 15.84 kB / 0.8208 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.01838, allocations: 5.188 kB / 0.8208 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.01852, allocations: 15.98 kB / 0.8208 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.01858, allocations: 19.97 kB / 0.8208 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.0186, allocations: 8.5 kB / 0.8209 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001237/0.01872, allocations: 151.2 kB / 0.821 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01872, allocations: 0 / 0.821 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000282/0.019, allocations: 59.78 kB / 0.8211 GB, free: 7.32 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 (25): * Single equations (assignments): 25 * 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.0001294/0.01913, allocations: 112.2 kB / 0.8212 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005407/0.01967, allocations: 220.8 kB / 0.8214 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01967, allocations: 1.094 kB / 0.8214 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.01995, allocations: 130.2 kB / 0.8215 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.02028, allocations: 30.36 kB / 0.8215 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009677/0.02125, allocations: 494.2 kB / 0.822 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.02141, allocations: 140.4 kB / 0.8221 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.41e-05/0.0215, allocations: 17.48 kB / 0.8222 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.02157, allocations: 28.5 kB / 0.8222 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.02157, allocations: 0 / 0.8222 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.005934/0.02751, allocations: 1.839 MB / 0.824 GB, free: 4.316 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.337958417949267]