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.001856/0.001856, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002265/0.002265, allocations: 170.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 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 2.95/2.95, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 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 2.625e-06/2.625e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/3.758e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.00353/0.003568, allocations: 1.211 MB / 0.9826 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.005892, allocations: 1.018 MB / 0.9836 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.006022, allocations: 8 kB / 0.9836 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.508e-05/0.006117, allocations: 31.59 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.006307, allocations: 39.59 kB / 0.9837 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.006525, allocations: 123.9 kB / 0.9838 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.006948, allocations: 348.3 kB / 0.9841 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.00733, allocations: 158.5 kB / 0.9843 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.007633, allocations: 207.6 kB / 0.9845 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.007771, allocations: 95.67 kB / 0.9846 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.705e-05/0.007838, allocations: 52 kB / 0.9846 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.007894, allocations: 44 kB / 0.9847 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.007972, allocations: 75.81 kB / 0.9847 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.008084, allocations: 107.7 kB / 0.9848 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.008718, allocations: 0.549 MB / 0.9854 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.008724, allocations: 0 / 0.9854 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.194e-06/0.008726, allocations: 0 / 0.9854 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.008734, allocations: 0 / 0.9854 GB, free: 7.934 MB / 0.9356 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.001038/0.009772, allocations: 0.5114 MB / 0.9859 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.009823, allocations: 12.03 kB / 0.9859 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.009896, allocations: 28.75 kB / 0.9859 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.01029, allocations: 218 kB / 0.9861 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.01032, allocations: 25.02 kB / 0.9861 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.01039, allocations: 32.38 kB / 0.9862 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.01114, allocations: 310.6 kB / 0.9865 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.01116, allocations: 192 / 0.9865 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.01119, allocations: 16.38 kB / 0.9865 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01121, allocations: 12.31 kB / 0.9865 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.01202, allocations: 290.3 kB / 0.9868 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.01323, allocations: 0.6917 MB / 0.9875 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.01394, allocations: 254.7 kB / 0.9877 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.0143, allocations: 132 kB / 0.9878 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.01433, allocations: 4 kB / 0.9878 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.01435, allocations: 38.5 kB / 0.9879 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.01435, allocations: 0 / 0.9879 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001097/0.01545, allocations: 364 kB / 0.9882 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.01551, allocations: 55.41 kB / 0.9883 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.01567, allocations: 137.8 kB / 0.9884 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.01569, allocations: 29.7 kB / 0.9884 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.01584, allocations: 172.5 kB / 0.9886 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.01591, allocations: 87.22 kB / 0.9887 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.01599, allocations: 45.94 kB / 0.9887 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.01618, allocations: 330.8 kB / 0.989 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.01649, allocations: 92.39 kB / 0.9891 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.01683, allocations: 131.4 kB / 0.9892 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.01748, allocations: 237.1 kB / 0.9895 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01748, allocations: 0 / 0.9895 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007992/0.01828, allocations: 282 kB / 0.9897 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.0183, allocations: 4 kB / 0.9897 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.01831, allocations: 4 kB / 0.9897 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.01833, allocations: 3.984 kB / 0.9897 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.01866, allocations: 63.89 kB / 0.9898 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.01866, allocations: 0 / 0.9898 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.01884, allocations: 39.92 kB / 0.9898 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.01887, allocations: 8 kB / 0.9899 GB, free: 3.152 MB / 0.9356 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.0001674/0.01904, allocations: 148.6 kB / 0.99 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.01908, allocations: 15.91 kB / 0.99 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.01914, allocations: 33.2 kB / 0.99 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01914, allocations: 0 / 0.99 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.01915, allocations: 4 kB / 0.99 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01915, allocations: 3.938 kB / 0.99 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.0195, allocations: 244.9 kB / 0.9903 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0195, allocations: 4 kB / 0.9903 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.01979, allocations: 63.89 kB / 0.9903 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01979, allocations: 0 / 0.9903 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01981, allocations: 4 kB / 0.9904 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01981, allocations: 4 kB / 0.9904 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01981, allocations: 0 / 0.9904 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.02056, allocations: 367.2 kB / 0.9907 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.02059, allocations: 15.84 kB / 0.9907 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.02062, allocations: 8 kB / 0.9907 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.0208, allocations: 19.97 kB / 0.9907 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.02087, allocations: 19.91 kB / 0.9908 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.02088, allocations: 8 kB / 0.9908 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.44e-05/0.02097, allocations: 109.8 kB / 0.9909 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.02097, allocations: 0 / 0.9909 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003138/0.02128, allocations: 63.78 kB / 0.9909 GB, free: 1.988 MB / 0.9356 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.0001317/0.02141, allocations: 107.2 kB / 0.991 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007142/0.02213, allocations: 229.5 kB / 0.9913 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.02213, allocations: 8.125 kB / 0.9913 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.02246, allocations: 123.8 kB / 0.9914 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.02286, allocations: 26.28 kB / 0.9914 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.02379, allocations: 471.2 kB / 0.9919 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.02393, allocations: 141.8 kB / 0.992 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.02404, allocations: 17.48 kB / 0.992 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.0241, allocations: 16.5 kB / 0.992 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.0241, allocations: 0 / 0.992 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of Templates: time 0.005589/0.02969, allocations: 1.802 MB / 0.9938 GB, free: 15.06 MB / 0.9512 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] 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.449339643120766]